I got the the xml like this
<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>
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.
Hobart (also known as Hobart Town), PPLA, V, 2012-02-06
Could anyone suggest me the simple way to achieve the result. Thanks a lot
Edit: I suppose to do that with xsl version 1 with key is ufi
ufi
attribute value? – Martin Honnen<feature>
elements is chosen to define the basic name and which are "also known as" names? And is the<name_type>
field of any consequence here? – Borodin