Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7871 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

HI

I have the following XML source file which has to be converted into HTML file using XSL

<?xml version="1.0"?>

<root>

<emailaddress> [email protected] </emailaddress>

</root>

i want to know how to provide a hyperlink for emailaddress using <a href="mailto:..." in the resulting HTML which will be generated by a XSL stylesheet.

plz help

cheers

chirag

  • 1 month later...
Posted

try:

<a>

<xsl:attribute name="href"><xsl:value-of select="emailaddress"></xsl:attribute>

Email address

</a>

This topic is 7871 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.