Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How do I create an email hyperlink (<a href="mailto:...">xxx</a>) from within an xslt transform? I'm not sure how to embed the value of a node attribute (e.g., 'contactEmail') in an <a> tag.
<a href="mailto:{string(data [@alias = 'rcMail'])}">name</a>
Or you could do it this way:
<a> <xsl:attribute name="href">mailto:<xsl:value-of select="data [@alias = 'contactEmail']"/></xsl:attribute> <xsl:value-of select="data [@alias = 'contactName']"/> </a>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Creating Email Link
How do I create an email hyperlink (<a href="mailto:...">xxx</a>) from within an xslt transform? I'm not sure how to embed the value of a node attribute (e.g., 'contactEmail') in an <a> tag.
<a href="mailto:{string(data [@alias = 'rcMail'])}">name</a>
Or you could do it this way:
<a>
<xsl:attribute name="href">mailto:<xsl:value-of select="data [@alias = 'contactEmail']"/></xsl:attribute>
<xsl:value-of select="data [@alias = 'contactName']"/>
</a>
is working on a reply...