Reputation: 3538
The following code gets me the appropriate string, but I don't know how to put the value in to an html img tag:
<xsl:value-of select="MT[@N = 'tag']/@V" />
I've tried this:
<img src="<xsl:value-of select="MT[@N = 'tag']/@V" />
and several variations.
Thanks.
Upvotes: 2
Views: 110
Reputation: 52888
Use an Attribute Value Template (AVT)
<img src="{MT[@N = 'tag']/@V}" />
Upvotes: 4