[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: appendig to multiple output files

Subject: RE: appendig to multiple output files
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Thu, 24 Jan 2002 12:06:18 +0100
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.