This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: appendig to multiple output files



><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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]