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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.