How would I go about applying a style to an element tag. This is how I'm displaying links to the page.
<xsl:element name="a">
<xsl:attribute name="href">../templates/<xsl:value-of select="$templates//templates/template/n3/link"/></xsl:attribute>
<xsl:value-of select="$templates//templates/template/n3/name"/>
</xsl:element>
Ordinary, I would be able to do class="href_style" within the anchor tag, but I'm not sure where to put it in the element tag. Any help would be appreciated.
Thanks,
Greg
<xsl:element name="a">
<xsl:attribute name="href">../templates/<xsl:value-of select="$templates//templates/template/n3/link"/></xsl:attribute>
<xsl:value-of select="$templates//templates/template/n3/name"/>
</xsl:element>
Ordinary, I would be able to do class="href_style" within the anchor tag, but I'm not sure where to put it in the element tag. Any help would be appreciated.
Thanks,
Greg