<xslTutorial creator="nicmila@idoox.com">
<index keywords='@'/>

<description>You can process an attribute in the same way as an element</description>

<xmlSource id="id1">
<employee id="js0034">
Joe Smith
</employee>
</xmlSource>

<attValues>
<value match="">
</value>
</attValues>

<xslStylesheet id="id2">
<xsl:template match="employee">
<xsl:value-of select="."/>
<xsl:text>[</xsl:text>
<xsl:apply-templates select="@id"/>
<xsl:text>]</xsl:text>
</xsl:template>

<xsl:template match="@id">
<B><i><xsl:value-of select="."/></i></B>
</xsl:template>
</xslStylesheet>



</xslTutorial>