Subject: Re: [xsl] appendig to multiple output files From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 24 Jan 2002 13:32:15 GMT |
<xsl:template match="oneelement"> <!-- output for the "main" document --> ... ... <!-- output for second document this generates the second file --> <xsl:document method="text" href="somefilename"> <xsl:text>.....</xsl:text> <xslvalue-of select="content"/> ... </xsl:document> </xsl:template> don't do that! do this <xsl:template match="oneelement"> <!-- output for the "main" document --> ... ... </xsl:template> <xsl:template mode="second" match="oneelement"> <!-- output for second document this generates the second file --> <xsl:text>.....</xsl:text> <xslvalue-of select="content"/> ... </xsl:template> and have <xsl:template match="/"> <xsl:apply-templates/> <xsl:document method="text" href="somefilename"> <xsl:apply-templates mode="second"/> </xsl:document> </xsl:template? _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] appendig to multiple outp, Michael Wiedmann | Thread | RE: [xsl] appendig to multiple outp, Bryan Rasmussen |
Re: [xsl] appendig to multiple outp, David Carlisle | Date | Re: [xsl] Balancing Columns, G. Ken Holman |
Month |