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]

RE: resetting list counters using <xsl:number>


<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

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