Re: [libxml++] Re: Formatting problem



On Tue, Jan 13, 2004 at 01:02:11PM +0100, Christophe de VIENNE wrote:
> Removing formatting linebreaks and spaces at parsing time imply a 
> decision on wether or not a whitespace is significant (See 
> http://www.xmlsoft.org/html/libxml-parser.html#xmlKeepBlanksDefault for 
> more information about it).

  See function areBlanks() in parser.c in libxml2 sources. It's not
public but you will see the criteria used by libxml2 to select whether
a whitespace node is significant.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




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