[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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@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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|