Hi, I use xslt to transform xml to html and I was wondering if there's any significant difference between using the <xsl:attribute> element like this:
Code:
<a>
<xsl:attribute name="href">
<xsl:value-of .../>
</xsl:attribute>
Click here
</a>
as oppossed to declaring a variable and using it like this:
Code:
<xsl:variable name="url" select=.../>
<a href={$url}>
Click here
</a>
Thanks a lot.