|
NOTE:
These slides have not been updated since 2003. They have been superseded by the book
Anders Møller and Michael Schwartzbach, February 2006 |
|
| THE XML REVOLUTION - TECHNOLOGIES FOR THE FUTURE WEB |
|
Example:
<xsl:template match="section">
<xsl:element name="sec{@level}">
<xsl:attribute name="kind">
<xsl:value-of select="kind"/>
</xsl:attribute>
</xsl:element>
</xsl:template>
|
This template rule converts
<section level="3"><kind>intro</kind></section>
into
<sec3 kind="intro"/>.
|
| COPYRIGHT © 2000-2003 ANDERS MØLLER & MICHAEL I. SCHWARTZBACH |
|