Subject: Re: How to create active hyperlinks from xml file From: "Joe McDonald" <joe@xxxxxxxxxxxxxxx> Date: Mon, 17 Jul 2000 14:26:49 -0400 |
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@xxxxxxxxxxxxxxx ----- Original Message ----- From: "Gene Lake" <sixty9th@xxxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxx> 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: How to create active hyperlinks, Gene Lake | Thread | RE: How to create active hyperlinks, Kay Michael |
RE: Conditinally including an XSL m, RSuiter | Date | RE: Checking for empty values, Charles Cantrell |
Month |