This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: numbering the result tree
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: numbering the result tree
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Mon, 27 Nov 2000 10:39:33 -0000
- Reply-To: xsl-list at mulberrytech dot com
You need something like
<xsl:number level="multiple" count="list" format="1_1"/>
Mike Kay
> I have a simple xml tree like this :
> <main>
> <list>
> <objects> </objects>
> <objects> </objects>
> <objects> </objects>
> <objects> </objects>
> <list>
> <objects> </objects>
> <objects> </objects>
> <objects> </objects>
> <objects> </objects>
> <list>
> <objects> </objects>
> <objects> </objects>
> <objects> </objects>
> <objects> </objects>
> </list>
> </list>
> </list>
> </main>
> but I need to
> give the result tree numbers that will define the tree ! .
> I need that the first list will be 1, 2, 3... N and all the
> nodes under a certain list will be X_1, X_2, X_3 ... X_N
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list