axis « XSLT stylesheet « XML






1.List All customers: /report/customer
2.template match="//customer"
3.template match="//customer[1]/name"
4.template match="//processing-instruction()"
5.Match all from root
6.for-each and select="."
7.tag with index
8.select="." (dot)
9.Match an element








10.match element with certain attribute value
11.match="text()|@*"
12.match="@*|node()"
13.select down to a certain level and its attribute
14.for-each select="listitem[position() > 1]"