An XSL Stylesheet / Transform
(close your eyes, this is code)
- Here is a template rule
- This rule matches a <paragraph> element
- Notice that it is made up of XML elements (two kinds)
- The two kinds of XML elements
- XSLT language tags (instructions)
- HTML tags
1 <xsl:template match="paragraph">
2 <hr/>
3 <p>
4 <xsl:apply-templates/>
5 </p>
6 </xsl:template>