how to use XSL

admin

Administrator
Staff member
I have an XSL that I am using during an XML transformnode()an XML fragment is something like<retailer><index>1</index><name>My Store</name></retailer>I would like to generate the following HTML<a href=http://forums.devx.com/archive/index.php/"mypage.asp?retailid=1>My Store</a>I tried...<a><xsl:attribute name="href=mypage.asp?retailid"><xsl:value-of select="index"/></xsl:attribute><xsl:value-of select="name"/></a>But this resulted in...<a href="mypage.asp?retailid="1">My Store</a>How can I get rid of the "" around the id number?TIA,Phil
 
Back
Top