Subject: RE: resetting list counters using <xsl:number>
From: Ben Robb <Ben@xxxxxxxxxx>
Date: Tue, 8 Aug 2000 16:13:25 +0100
|
<xsl:number level="any" from="list[@type='starts']"/>
should be:
<xsl:number level="any" from="list[@continuation='starts']"/>
Ben
> <?xml version="1.0"?>
> <doc>
> <page>
> <p>Some text...</p>
> <list type="ordered" continuation="starts">
> <item>first</item>
> <item>second</item>
> <item>third</item>
> </list>
> <p>Some more text...</p>
> <list type="ordered" continuation="continues">
> <item>fourth</item>
> <item>fifth</item>
> </list>
> <p>Yet even more text...</p>
> <list type="ordered" continuation="starts">
> <item>First Item, Second List</item>
> <item>Second Item, Second List</item>
> </list>
> </page>
> </doc>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|