How to create an HTML file with the correct ext in lotusXSL

Subject: How to create an HTML file with the correct ext in lotusXSL
From: Brad Sommerfeld <bsommerfeld@xxxxxxx>
Date: Wed, 29 Mar 2000 09:27:16 -0600
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>

Current Thread