Template Rules

<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  <xsl:template match="NAME">
    <h2><xsl:value-of select="."/></h2>
  </xsl:template>

</xsl:stylesheet>

You can find this example in examples/atoms1.xsl


View Transformed Document in Browser
Previous | Next | Top | Cafe con Leche

Copyright 2002 Elliotte Rusty Harold
Elliotte Rusty Harold
Last Modified November 19, 2002