| Example 1 |
This simple example shows processing with parameter passing.
|
| Example 2 |
Look, which nodes are processed by the instruction
xsl:apply-templates, when no select expression is given.
|
| Example 3 |
Shows recursion of a template with parameter passing.
|
| Example 4 |
Demonstrates the use of modes in templates.
|
| Example 5 |
Demonstrates the use of xsl:sort - changed order of node processing.
|
| Example 6 |
Demonstrates the use of xsl:call-template; processing
of elements which are on different levels in the document tree
(document order).
Also look at the precedence of templates
(compare templates matching "title" and "//section/title").
|
| Example 7 |
Demonstrates the use of the document() function.
Here I retrieve the full name of the compound
from my "compound database", using id.
|
| Example 8 |
The template selects all CCC's.
But there is no template for <CCC id="c1"> and
so defalult template was used.
Default template is <xsl:apply-templates/> and so it
calls the template for <CCC id="c2">.
The second time <CCC id="c2"/> is called directly.
|