Welcome to WebmasterWorld Guest from 220.127.116.11
Forum Moderators: httpwebwitch
I am using an XML document as a source of a list of URLs and their descriptions and wish to transform these to a series of hyperlinks using XSL along the lines of that below.
In XML Doc:
<url desc="A description" address="www.widget.com" />
<url desc="Blah" address="www.bluewidgets.com" />
In XSL Doc:
<a href=" <xsl:value-of select="@address" /> ">
<xsl:value-of select="@desc" />
Obviously the above XSL is not valid, but I don't know how to insert the URL into the href value. Any ideas how to get around this? It seems such a simple thing to want to do, but is proving problematic!
Thanks in advance.