Re: [xslt] Strange interaction between <xsl:text> and whitespace in XML output mode



On Wed, Oct 22, 2003 at 08:35:26PM +0200, Nick Wellnhofer wrote:
> My problem is that indenting is disabled if I use <xsl:text>. Is there a 
> specific reason?

  The XML serializer notices the text node at the same level as
the elements, concludes that the parent element content model
might be mixed-content, and as a result disable indenting
for this subtree.

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]