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]

table of contents using lotusXSL


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

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