On Tue, Oct 12, 2010 at 09:34:11AM +0200, Daniel Veillard wrote:
> On Tue, Oct 05, 2010 at 10:22:22PM +0100, Adam Spragg wrote:
> > libxml developers,
> > 
> > Please find for your consideration a series of patches to add 2 new
> > "xmlSaveOption"s to libxml.
> > 
> > XML_SAVE_WSNONSIG is a new pretty-printing format which adds whitespace
> > *within* tags, where permitted by the XML standard, to re-line and
> > indent XML files, without changing any element content at all. No
> > whitespace is added to, removed from, or altered in any text node of
> > the document, and no text nodes are are added or removed either.
> 
>   Still *any* text node is significant in XML. Any indenting is by
> definition destructive.

  Hum, relooking at your patch here, I may have misunderstood how you
tried to do this, I will recheck... Maybe this can be isolated from
the canonicalization attempt and useful as such...

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
[email protected]  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to