[Top][All Lists]

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

Re: Error in xml.el documentation

From: Jason Rumney
Subject: Re: Error in xml.el documentation
Date: Fri, 22 Feb 2008 23:07:30 +0000
User-agent: Thunderbird (Windows/20071031)

Lennart Borgman (gmail) wrote:

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.

But it seems I was wrong. xml-parse-region throws an error if the region does not contain well-formed XML with a single top-level node. So although the functions all return a list, they all always return a list of one.

reply via email to

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