[Home] [By Thread] [By Date] [Recent Entries]
Artur Matos
wrote:
I want my XSL processor to create cat1.html and
cat2.html.
The way I have accomplished this is using a
variable. I construct a name with a static prefix, an element of the XML
and .HTM (ex. prefixNAME.htm)
<xsl:template match="XFDL">
<xsl:variable name="outname">fileprefix<xsl:value-of select="name"/>.htm</xsl:variable>
<redirect:write select="$outname">
<!-- output goes here -->
</redirect:write>
</xsl:template>
|

Cart



