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
