XSLT 1.1 had an xsl:document element to do this, and there were
processor-specific extensions to accomplish the same thing. Saxon has
saxon:output for instance, which is a synonym for xsl:document.
For instance:
<xsl:template match="/">
<xsl:document method="text" href="bar.txt">
<xsl:apply-templates/>
</xsl:document>
</xsl:template>
XSLT 2.0 has xsl:principle-result-document and xsl:result-document for
this purpose. A use might look like this:
<xsl:template match="/">
<xsl:result-document format="xml" href="foo.xml">
<xsl:apply-templates mode="foomode"/>
</xsl:result-document>
</xsl:template>
- Mitch
SoftwareAdjuvant.com
Dennis wrote:
Hi All,
Is it possible to split the imput XML into multiple
XML trees??
I am merging the multiple xml files using XSL, I want
the reverse of it.
Any suggestion or tips & tricks are welcome.
Thanks
Dennis
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list