Re: [xml] Question about 'text' elements

On Tue, Jul 02, 2002 at 01:25:32PM +0100, Martin Craig wrote:

I've read the FAQ & understand why libxml2 adds text elements for docs
containing whitespace, e.g. 


gets parsed to

  </text><tag2>, etc...

However I don't understand why


gets parsed to


Is this really correct behaviour?

  Yes, this matches both the XPath data model and the Infoset one.
Specifications are on-line at


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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