[xsl] Grouping in xsl

Subject: [xsl] Grouping in xsl
From: Dhanasekaran Vivekanandhan <mail2sek@xxxxxxxxx>
Date: Tue, 6 Nov 2001 08:24:22 -0800 (PST)
Hi all,
I am having the following xml. file ... 

 <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" /> 
  <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" /> 
  <field name="id" value="435" /> 
  <field name="fun" value="i_donot_know" />

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
attributes can be duplicated , between row elements .

and i want to attain a result of this format

|  +
|  |---oracle --- 7.1
|  +---mysql  --- 3.1
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,

Do You Yahoo!?
Find a job, post your resume.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread