Subject: Re: [xsl] Numbering in XSLT From: XSL-List Owner <xsl-list-owner@xxxxxxxxxxxxxxxxxxxxxx> Date: Tue, 10 Jun 2008 15:04:01 -0400 |
- describe what you are trying to do (which you did), - describe how you approached it, what happened, and why you don't like the result you got - supply small samples of files that illustrate your question or problem. For example, an XML file, an XSLT stylesheet, the result you got, and the result you want - all in miniature (and remembering that everything posted to XSL-List is archived in public)
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!
====================================================================== B. Tommie Usdin mailto:btusdin@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Phone: 301/315-9631 Suite 207 Direct Line: 301/315-9634 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in XML and SGML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Numbering in XSLT, shruta satam | Thread | RE: [xsl] Numbering in XSLT, Michael Kay |
[xsl] Numbering in XSLT, shruta satam | Date | RE: [xsl] Numbering in XSLT, Michael Kay |
Month |