This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Grouping in xsl
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] Grouping in xsl
- From: Dhanasekaran Vivekanandhan <mail2sek at yahoo dot com>
- Date: Tue, 6 Nov 2001 08:24:22 -0800 (PST)
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi all,
I am having the following xml. file ...
<row>
<field name="id" value="434" />
<field name="fun" value="is_it_not" />
<field name="my_name" value="oracle" />
<field name="my_value" value="7.1" />
</row>
<row>
<field name="id" value="434" />
<field name="fun" value="is_it_not" />
<field name="my_name" value="mysql" />
<field name="my_value" value="3.1" />
</row>
...
...
...
<row>
<field name="id" value="435" />
<field name="fun" value="i_donot_know" />
</row>
In the xml file field with "my_name" and "my_value"
attributes are optional ( meaning the corresponding
field element is optional). and field with "id" and
"fun"
attributes can be duplicated , between row elements .
and i want to attain a result of this format
---------------------------
+434---is_it_not
| +
| |---oracle --- 7.1
| +---mysql --- 3.1
|
+435---i_donot_know
----------------------------
i am using the xalan,xerces parser.
is there any way to achieve the result of the above
format...please help me
thanks in advance,
dhanasekaran.
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list