table of contents using lotusXSL

Subject: table of contents using lotusXSL
From: Mamoudou Wane <intern@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Apr 2000 11:19:26 +0200
Hi all,

I would like to know if it is possible to append an existing file with the
redirect extension of lotusXSL.

I need to create multiple index files (table of contents) composed with title
and URL of each transformed file (XML)


<!--======= Redirecting table of contents ==========-->
<xsl:template match="/ihXML/ihdrug/generic" mode="index">
   <redirect:open file="zindex.htm"/>
      <redirect:write file="zindex.htm">
          <xsl:value-of select="/ihXML/ihdrug/generic"/>
      </redirect:write>
   <redirect:close file="zindex.htm"/>
</xsl:template>
<!--=========================================-->

with this example, after each processing, the zindex.htm file is erased. So the
result of my zindex.htm is only the last file treated with lotusXSL.
How can this be changed.

Best regards, 
Mamoudou Wane.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread