[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Numbering in XSLT
Hello All, I am an absolute newbee to XSLT and have been cracking my head trying to achieve the following: Sample XML file: <date> <ed date1="01/01/2007" id="1" /> <ed date1="01/01/2008" id="2" /> <ed date1="01/01/2008" id="3" /> <ed date1="01/01/2005" id="4" /> <ed date1="01/01/2008" id="5" /> <ed date1="01/01/2009" id="6" /> </date> Now I want a numbered output as follows: 0. 01/01/2005,4 1. 01/01/2007,1 2. 01/01/2008,2 2. 01/01/2008,3 2. 01/01/2008,5 3. 01/01/2009,6 i.e I want a numbered o/p grouped by date1 as shown above. Help!
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|