W3C home > Mailing lists > Public > spec-prod@w3.org > October to December 2004

Re: Quick TOC with XMLSpec

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 24 Nov 2004 15:10:57 GMT
Message-Id: <200411241510.PAA05060@penguin.nag.co.uk>
To: ml@graougraou.com, spec-prod@w3.org


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:19:13 GMT