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

Re: [xsl] xsl:output and xsl:result-document


Subject: Re: [xsl] xsl:output and xsl:result-document
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 15 Sep 2009 18:03:44 +0200

Mike Sokolov wrote:
Is it possible to generate XML documents with xsl:result-document while outputting text as the main stylesheet result? It seems as if xsl:output applies to the whole stylesheet process: both the main result and the xsl:result-document results. Is that right?

No, you can have several xsl:output directives and identify them with a unique name attribute. Then <xsl:result-document format="outputName" ...></xsl:result-document> allows you to reference such an xsl:output directive.



--


	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/


Current Thread
Keywords
xml