How to write <a

2020-07-10 03:07发布

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...

标签: xslt
1条回答
时光不老,我们不散
2楼-- · 2020-07-10 03:51
<a href="mailto:{//Email}">
  <xsl:value-of select="//Email"/>
</a>
查看更多
登录 后发表回答