This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: How to create active hyperlinks from xml file


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]