Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to crate mailto tag from xsl,

213 views
Skip to first unread message

Anthonisamy

unread,
Nov 30, 2000, 3:00:00 AM11/30/00
to
Can some please help me to fix this. From the xsl i try to create the
mailto(mailto: tag so that the out put generated by xsl, clicking on the
link directly send email. but it not working correctly.
Here is xml file
<XML>
<EMAILADDRESS>some...@yadlee.com</EMAILADDRESS>
</XML>

xsl file
<xsl:element name="A">
<xsl:attribute name="HREF=&apos;mailto:&apos;">
<xsl:value-of select= "."/>
</xsl:attribute>
<xsl:value-of select="."/>
</xsl:element>
also tried this
<A HREF="mailto:{EMAILADDRESS}> test</A>
thanks
JA


Miloslav Nic

unread,
Dec 1, 2000, 2:36:43 AM12/1/00
to
<a href="mailto:{EMAILADDRESS}"><xsl:value-of select=
"EMAILADDRESS"/></a>

--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>

<mail> nic...@idoox.com </mail>
<support> http://www.zvon.org </support>
<zvonMailingList>
http://www.zvon.org/index.php?nav_id=4
</zvonMailingList>

Anthonisamy

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
Nic
I tried this,
{EMAILADDRESS} not getting the value at the current node.
When click on the mailto it opens my outlook in the address it show
EMAILADDRESS. Correct me if I am doing something wrong.
thanks
JA

Miloslav Nic <nic...@idoox.com> wrote in message
news:3A27550B...@idoox.com...

Andrew Backer

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
This works great for me :

<a>
<!-- this pus the href="mailto:blah" in the <A> -->
<xsl:attribute name="href">
mailto:<xsl:value-ofselect="@address"/>
</xsl:attribute>
<!-- this is the description of the email address -->
<xsl:value-of select="@desc"/>
</a>
On Fri, 1 Dec 2000 08:40:35 -0800, "Anthonisamy" <sa...@premia.com>
wrote:

>Nic
>I tried this,
>{EMAILADDRESS} not getting the value at the current node.
>When click on the mailto it opens my outlook in the address it show
>EMAILADDRESS. Correct me if I am doing something wrong.
>thanks
>JA
>
>
>
>Miloslav Nic <nic...@idoox.com> wrote in message
>news:3A27550B...@idoox.com...

Anthonisamy

unread,
Dec 1, 2000, 3:00:00 AM12/1/00
to
Finally I figured out the right answer.

<A>
<xsl:attribute name="HREF">mailto:
<xsl:value-of select="."></xsl:value-of></xsl:attribute>
<xsl:value-of select="."></xsl:value-of>
</A>
-Samy

Anthonisamy <sa...@premia.com> wrote in message
news:Odak7Gy...@cppssbbsa02.microsoft.com...

0 new messages