OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [xml-dev] Mailto links in XML



Try:

<p>
<a>
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="EMAIL"/>@ccra-adrc.gc.ca</xsl:attribute>
<xsl:value-of select="NAME"/>
</a>
</p>

> -----Original Message-----
> From: Gordon Stewart [mailto:gordon.stewart@net800.co.uk]
> Sent: September 12, 2001 11:15 AM
> To: xml-dev@lists.xml.org
> Subject: [xml-dev] Mailto links in XML
> 
> 
> Hi List
> 
> I have a xml file with data in it as 
> 
> <address>
>     <NAME>Gordon Stewart</NAME>
>     <EMAIL>Gordon.stewart@net800.co.uk</EMAIL>
> </address>
> <address>
>     <NAME>XML</NAME>
>     <EMAIL>xml-dev@lists.xml.org</EMAIL>
> </address>
> 
> what do I put in my XSL file so that I get the output to look like:
> 
> <p><a href="mailto:gordon.stewart@net800.co.uk">Gordon Stewart</a>
> <p><a href="mailto:xml-dev@lists.xml.org">XML</a>
> 
> Thanks
> 
> Gordon
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
>