Subject: Sorting & Grouping
From: Satish Patil <Satish.Patil@xxxxxxx>
Date: Thu, 26 Apr 2001 16:15:27 -0400
|
Hi All,
I need help in sorting & grouping.
I have a XML
<parent>
<child>
<name>AAAA</name>
<emp_id>1</emp_id>
</child>
<child>
<name>BBBBB</name>
<emp_id>3</emp_id>
</child>
<child>
<name>CCCC</name>
<emp_id>2</emp_id>
</child>
<child>
<name>DDDDD</name>
<emp_id>2</emp_id>
</child>
</parent>
How to write an XSL that sorts & groups according to <emp_id>. The intended
O/P is
1 AAAA
2 CCCC
DDDD
3 BBBB
Thank you in advance.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|