[xsl] child numbering

Subject: [xsl] child numbering
From: "gbk" <gbk@xxxxxxxxxxxxxx>
Date: 31 Jan 2002 15:07:14 -0000
Hi  gurus

I want to display number sequence for all my parent and child nodes.for example

   <comment>
     <comment>
         <commnet>
         </commnet>
     </comment>
   <commnet>
I have a comment as parent and it can agian have acooment as child and so onn...
so now i want my display as
like this

1.1
comment
  its conents.....
1.1.1
 comment(this is child for upper one)
1.1.1.1
 comment
and so on is there a way to do this

any thoughts
thanks for all our help

gbk



 


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


Current Thread