Posted on: 12/1/2014 3:17:38 PM | Views : 413

Hello,
I am new to xslt. i am not able to assign the value to anchor tag.
I could not assign the value ("vInnerImgLink") to anchor tag(href). When i am debuging, the variable("vInnerImgLink") have a value.

My snippet :-
<xsl:choose> <xsl:when test="content/@type='image'"> <xsl:variable name="vSubImgUrl" select="content/subImgUrl"/> <xsl:variable name="vInnerImgLink" select="content/innerImgLink"/> <a href="{$vInnerImgLink}"><img src="{$vSubImgUrl}" /></a> </xsl:when> </xsl:choose>

Go to the complete details ...