Hi,
I want to pass the value of a variable in my href. Is it possible?

Example:-
<xsl:variable name="URL">
<xsl:value-of select="catalog/cd"/>
</xsl:variable>
<a href="&lt;xsl:value-of select='$URL'/&gt;"> Link to catalog </a>

Please help me, how could i achieve this task?

<xsl:variable name="URL">
  <xsl:value-of select="catalog/cd"/> 
</xsl:variable>
<a href="{$URL}"> Link to catalog </a>

Thanks a lot :) ..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.