[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] cannot remove indentation [XSLT 1.0]


Subject: Re: [xsl] cannot remove indentation [XSLT 1.0]
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Wed, 16 Mar 2011 15:38:49 +0000

<xsl:strip-space elements="*"/>
<xsl:output encoding="UTF-8" indent="no" media-type="text/xml"
method="xml"/>
This will only have effect in the stylesheet you are actually calling,
not any included stylesheets.

um, no... Both xsl:strip-space and xsl:output affect the entire stylesheet (all modules), subject of course to rules for resolving conflicting declarations.


Michael Kay
Saxonica


Current Thread