xsl-list
[Top] [All Lists]

Generating Unique ID

2005-12-06 00:55:54
Hi,

I have an xml file and I need to present it in html in the following format :-

A
   AA
        AAA
               AAAA
               ........
       AAB
              AABA
              .......
       .......
   AB
       ABA
              ABAA
              ........
       ......
  .....
B
...


I am able to present the data in the same format but the problem I have now is that I have to assign a unique ID to these data.

What I would like is that the IDs generated at lower level should contain the ID of parent node as well. For example :-

ID of AA = (ID of A + ID of AA)
ID of AAA = (ID of A + ID of AA + ID of AAA)

and so on.

Thanks in advance.

Arun



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>