Basic Question - hyperlink

wxdqz

New Member
I have an XML file that contains peoples e-mail addresses, and I would like,in my XSL file, to make this a hyperlink (i.e."mailto:[email protected]" ). I read a previous post on this subject thatsaid that you would need to use the Concat function as follows:<a><xsl:attribute name="href"><xsl:value-of select="concat('mailto:',$name)"/></xsl:attribute><xsl:value-of select="$name"/></a>and that the $Name variable would hold the e-mail address. My question ishow do I declare a variable in XSL, and pass it the XSL 'value-of'.CheersJames E
 
Back
Top