File: Data.xml
File: Transform.xslt
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Location
group-by="@department">
Location
Location
Output:
Location Los Angeles
Location personnel
Location B
Location W
Location New York
Location sales
Location J
Location transport
Location C
Location Seattle
Location sales
Location M