Lennart Borgman (gmail) wrote:
The documentation at the top of xml.el says
;; There can be only top level node, but with any number of children
below.
I think it should be "only one top level node" and
Yes.
;; The functions `xml-parse-file', `xml-parse-region' and
;; `xml-parse-tag' return a list with the following format:
;;
;; xml-list ::= (node node ...)
This one is correct. The functions mentioned return a list of nodes. In
the case of xml-parse-region at least, there can be more than one node
at the top level of the returned list.