This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: resetting list counters using <xsl:number>
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: resetting list counters using <xsl:number>
- From: Ben Robb <Ben at cscape dot com>
- Date: Tue, 8 Aug 2000 16:13:25 +0100
- Reply-To: xsl-list at mulberrytech dot com
<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