|
|
|
|
|
|
| |
Grouping with XSLT
This category contains techniques used to group XML Data
| Stylesheet |
Description |
Files |
| Muenchian Grouping of Products |
Using the Muenchian Method to group an XML documents of "Products" by Region, then by Product Name. |
View Output View XSL File View XML File Download this sample
|
| |
|
|
| Muenchian Grouping of Products with IDs |
Using the same Muenchian Method as above, except with displays of Internal IDs to demonstrate the information that is used in the generate-id() function. |
View Output View XSL File View XML File Download this sample
|
| |
|
|
| Grouping without the key() function by G. Ken Holman |
This method demonstrates a technique for grouping that does not use the key() function. This is especially useful for XSL processors where the key() function is not supported. |
View Output View XSL File View XML File Download this sample
|
| |
|
|
| Grouping using the set:Distinct template from EXSLT.org |
This solution varies from both Ken's Approach and the Muenchian method because it doesn't use key() or generate-id(). Instead, it uses the set:distinct extension function which is defined by EXSLT.org : The community initiative to define commonly-required extensions not available in XSL. |
View Output View XSL File View XML File Download this sample
|
| |
|
|
|
|
|
|
|
|
|
|
|