tags:

views:

60

answers:

1

I am creating HTML o/p using xsl. one of the requirement is to display user's mail id and when clicked... it will open a new page of Outlook.

I know tag but How to write HTML tag in xslt ?

<a href="mailto:<xsl:value-of select="//Email/>">
 <xsl:value-of select ="//Email"/>
</a>

where Email is retrived from an XML. I need to provide xpath but it is thorwing error.

Thanks in advance...

+5  A: 
<a href="mailto:{//Email}">
  <xsl:value-of select="//Email"/>
</a>
Jan Willem B
Thanks a lot dude..
Amit
You're welcome. Don't forget to mark this answer :)
Jan Willem B