Attribute Value Templates

We want to add this to the footer:

  <a href="http://www.macfaq.com/personal.html">Elliotte Rusty Harold</a><br/>
  <a href="mailto:elharo@metalab.unc.edu">elharo@metalab.unc.edu</a>

So we need a way to copy element content in the input document to attribute values in the output document.

  <xsl:template match="maintainer">
    <a href="{url}"><xsl:value-of select="name"/></a><br/>
    <a href="mailto:{email}"><xsl:value-of select="email"/></a><br/>   
  </xsl:template>

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

Copyright 1999 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified September 1, 1999