Moving to XML
|
XSL-T elements: reprise
- xsl:output
- allows us to define how we want the output to be
formatted
- xsl:template
- defines what should be output for elements matching a
given pattern
- xsl:apply-templates
- applies the templates to the elements which match its
pattern
- xsl:call-template
- calls a template with a particular name, overriding the
pattern-matching system
- xsl:for-each
- produces output iteratively, overriding the
pattern-matching system
- xsl:sort
- orders the result of its enclosing element (an
xsl:apply-templates or an
xsl:for-each)
- xsl:value-of
- produces the value of the thing matched by its
pattern
- xsl:attribute
- outputs an attribute for the output element which
encloses it
There are a few more XSL elements, but these will do most
things for you.