[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: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Tue, 15 Sep 2009 17:08:44 +0100

2009/9/15 Mike Sokolov <sokolov@xxxxxxxxxxxx>:
> Is it possible to generate XML documents with xsl:result-document while
> outputting text as the main stylesheet result?

Only using xsl:message, or if possible restructuring your transform to
output what you would've output during the result-document section at
a different time.

> 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?

Most if not all of the attributes you can specify on xsl:output can
also be specified on xsl:result-document, which then only apply to
that specific document (indent, omit-xml-declation etc)


--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/


Current Thread
Keywords
xml