[Home] [By Thread] [By Date] [Recent Entries]
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
|

Cart



