]> git.eshelyaron.com Git - emacs.git/commitdiff
(xml-parse-tag): Avoid overwriting node-name.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Apr 2004 22:26:53 +0000 (22:26 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Apr 2004 22:26:53 +0000 (22:26 +0000)
lisp/xml.el

index 408c13ab39b898f0b5511c19ad6c3884c3eec11d..98241750c7320e20a7296bc8d22a6c0cb0cd968f 100644 (file)
@@ -325,10 +325,8 @@ Returns one of:
              (push (cons (cdar attr) (intern (concat ":" (cdr attr))))
                    xml-ns))))
 
-        ;; expand element names
-        (setq node-name (list (xml-maybe-do-ns node-name "" xml-ns)))
+        (setq children (list attrs (xml-maybe-do-ns node-name "" xml-ns)))
 
-        (setq children (list attrs node-name))
        ;; is this an empty element ?
        (if (looking-at "/>")
        (progn