This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: How to create active hyperlinks from xml file
- To: <xsl-list at mulberrytech dot com>
- Subject: Re: How to create active hyperlinks from xml file
- From: "Joe McDonald" <joe at joeinternet dot net>
- Date: Mon, 17 Jul 2000 14:26:49 -0400
- References: <20000717134416.36189.qmail@hotmail.com>
- Reply-To: xsl-list at mulberrytech dot com
Your solution for MSXML works but only if http:// is added to each <url> as
in <url>http://www.iol.ie</url>.
The resulting HTML is http://www.iol.ie
It's not pretty but it works. It worked for "mailto:" also.
Thanks.
Joe McDonald
joe@joeinternet.net
----- Original Message -----
From: "Gene Lake" <sixty9th@hotmail.com>
To: <xsl-list@mulberrytech.com>
Sent: Monday, July 17, 2000 9:44 AM
Subject: Re: How to create active hyperlinks from xml file
>
> ><?xml version="1.0" ?>
> ><?xml:stylesheet type="text/xsl" href="favourites.xsl"?>
> ><favourites>
> > <url>www.iol.ie></url>
> > <url>www.deafblind.com></url>
> > <url>www.download.com></url>
> ></favourites>
>
> If u using MSXML only this script could help:
> <xsl:element name="A">
> <xsl:attribute name="HREF"><xsl:value-of select="url"/></xsl:attribute>
> <xsl:value-of select="url"/>
> </xsl:element>
> In theory the following should work:
> <a href="{url}><xsl:value-of select="{url}"/></a>
> Good luck
> G.L.
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list