Home | Copy Datasource XML files within Weblogic domains >>

Grouping and Sorting data using XSLT

Below example explains on how to use grouping and sorting functionality in an XSL file.

Preview of the output
 


The first group is on "location" and then we are trying to group the sublist of records based on "department". Sorting is based on "department" within the sublist of records for a given "location".

XSL code

 Full source code can be downloaded by clicking here.

Hope this helped you.
Thanks
Uma




Add a comment Send a TrackBack


Copyright © 2002 - 2010 JavaGalaxy.com,
All Rights Reserved Advertise| Feedback| Contact us| Terms of Use| Privacy Policy|

Help us to keep serving you better.
If you find any part of this site useful please support the site by linking to us