|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Spliting one XML to multiple XML docs using XSL
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, XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








