[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: numbering the result tree


Subject: RE: numbering the result tree
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 27 Nov 2000 10:39:33 -0000

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



Current Thread
Keywords
xml