Wednesday, February 21, 2007

XSLT

XSLT is a powerful tool to transform XML to another type of document such as html or svg. For Assignment 3, I am using apply-templates and for-each to loop through all elements in a node. I also used XPath to indicate where in the tree I'd like to apply the template. The most important things to remember about XSLT is that apply-templates only applies to the children of that node, not it's grand children and attributes are not the same as children (they're in their own dimension).

No comments: