[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error in xml.el documentation

From: Lennart Borgman (gmail)
Subject: Re: Error in xml.el documentation
Date: Fri, 22 Feb 2008 23:38:30 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Jason Rumney wrote:
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


;; 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.

Thanks, I did not think of that case.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]