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: numbering the result tree


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

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