[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: appendig to multiple output files
>Is there a way to append output data for multiple output files using the >XSLT 1.1 approach with <xsl:document> ? >I want to generate two separate files (method="text") I could think of a way if you wanted to generate two seperate files, (method="xml"), something like the following: <output file="test.xml"> <p>test</p> </ouput> <xsl:template match="output"> <xsl:param name="input" select="document(@file)/*"/> <xsl:document href="@file"> <xsl:copy-of select="$input"/> <xsl:apply-templates/> </xsl:document> </xsl:template> <xsl:template match="p"> <para><xsl:value-of select="."/></para> </xsl:template> 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
|