Subject: RE: How to create active hyperlinks from xml file
From: Charles Cantrell <chc@xxxxxxxxxxx>
Date: Mon, 17 Jul 2000 15:18:40 -0500
|
I don't know if I am being overly complicated, but the only thing that I was
able to get to actually work from something like this:
> <favourites>
> <url>www.iol.ie></url>
> <url>www.deafblind.com></url>
> <url>www.download.com></url>
> </favourites>
was:
<xsl:template match="url">
<xsl:variable name="href">http://<xsl:value-of select="."/></xsl:variable>
<a href="{$href}"><xsl:value-of select="."/></a>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|