Grouping in xsl

Motors

New Member
I got the the xml like this\[code\]<feature ufi="-1578440"> <designation>PPLA</designation> <administrative_division>06</administrative_division> <name_type>V</name_type> <full_name>Hobart Town</full_name> <sort_key>HOBARTTOWN</sort_key> <modified>2012-02-06</modified></feature><feature ufi="-1578440"> <designation>PPLA</designation> <administrative_division>06</administrative_division> <name_type>N</name_type> <full_name>Hobart</full_name> <sort_key>HOBART</sort_key> <modified>2012-02-06</modified></feature>\[/code\]Basically, the information of 2 fields is similar except the name_type. So I would like to generate the output something like this using xsl grouping.\[code\]Hobart (also known as Hobart Town), PPLA, V, 2012-02-06\[/code\]Could anyone suggest me the simple way to achieve the result. Thanks a lotEdit: I suppose to do that with xsl version 1 with key is ufi
 
Back
Top