[thelist] XSL - Count child nodes.

Peter Dirickson peterdirickson at hotmail.com
Tue Jan 25 15:22:47 CST 2005



Can someone please help me. I have these XML below:



            <NAME>Item 1</NAME>

            <VALUE>Value 1</VALUE>



            <VALUE>Value 1.2</VALUE>



            <NAME>Item 2</NAME>

            <VALUE>Value 2</VALUE>



            <NAME>Item 3</NAME>

            <VALUE>Value 3</VALUE>



And I would like to output this:


1. Item 1

1. Value 1

1. Value 1.2

2. Item 2

2. Value 2

3. Item 3

3. Value 3


Thanks a lot folks.




More information about the thelist mailing list