How I Created It:
This is actually from a tutorial from the text book, "New Perspectives on XML, Comprehensive, 3rd Edition". I used the tutorial as a guide to create an XML document using templates and various attributes. For this exercise, I needed to group the employees by gender, department and position.
Here is a list of most of the elements and attributes that I used, many of them for the first time:- Advanced use of XML templates.
- The mode attribute, which distinguishes the template from another that uses the same node set
- Step Patterns
- The use of keys, which is an index based on a node specified in the match attribute using values from a node set
- Muenchian Grouping, which is a programming technique that is used for grouping based on unique values
What I Learned:
I learned to create more advanced XML templates using keys, loops, and grouping techniques.