开发者

How to write <a href="mailto: tag in xslt?

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>

wh开发者_JAVA百科ere Email is retrived from an XML. I need to provide xpath but it is thorwing error.

Thanks in advance...


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

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜