This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: appendig to multiple output files
- From: "Bryan Rasmussen" <bry at itnisk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 24 Jan 2002 13:07:16 +0100
- Subject: RE: [xsl] appendig to multiple output files
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
><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>
of course you should probably put a tag around xsl:copy and
xsl:apply-templates
like
<document><xsl:copy-of select="$input"/>
<xsl:apply-templates/></document>
of course then what you probably want to do is to get rid of all the excess
document tags that get output each time you copy, if I understand correctly
that you want a document that can be appended to.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list