Re: Quick TOC with XMLSpec

me> so I would guess it's easier just to go 


   <xsl:for-each select="div1|inform-div1">
   <xsl:template mode="toc" match="div1">!!!!!!!!!!!!!!!!!!!!!!
       <xsl:apply-templates select="." mode="divnum"/>

It would be better though to delete the line
 <xsl:template mode="toc" match="div1">
so that the code is at least well formed XML. Sorry about that, I
deleted the end tag but not the start when converting the template into the
for-each loop.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Wednesday, 24 November 2004 15:11:09 UTC