RE: not resetting counters in a document tree

Subject: RE: not resetting counters in a document tree
From: Michel Goossens <Michel.Goossens@xxxxxxx>
Date: Tue, 27 Apr 1999 09:18:33 +0200 (METDST)
On Mon, 26 Apr 1999, Kay Michael wrote:
> >  <xsl:number level="multi" 
> >              count="chapter"
> >              format="1. "/>
> 
> Have you tried level="any", or from="document"? I think either of these
> should do the trick.
I tried both, but "going up" the tree further (from="document") still
resets the counter when the new part starts, while level="any" gives a
number that is one too large (as per the spec, it contains "one plus the
numbers of elements at any level of the document..."). So no solution yet.
Michel Goossens


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread