Re: [xslt] Indentation with <xsl:output method="xml" indent="yes"/>



On Mon, Feb 14, 2005 at 02:35:01PM +0100, Vincent Lefevre wrote:
> I wonder why I don't get the same form as with xmllint --format:

  because the serialization code is extremely cautious about
the formatting option and tend to just stop it if there is any
text node left as a sibling, while those text nodes are stripped
out on input with xmllint --format.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://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]