dynamic HREF attribute by XSLT
- by ofortuna
Can anyone plese advice how I can have dynamic HREF attribute in the place of http://abc.com by XSLT in following code snippet?
<xsl:for-each select="MenuItems/mainmenu">
<a href="http://abc.com">
<span><xsl:value-of select="menuName"/></span>
</a>
</xsl:for-each>
sample xml
<MenuItems>…