I am totally new to XSL and this is my first time coding it with it. I have HTML and CSS experience and trying to figure out how to integrate it all together for a SharePoint view.
Basically I have an XML file with about 3 records, each having a Title attribute and a URL attibute among others. Now what I want to do is have the Title attribute appear as a URL so when the title is linked, it will navigate to the URL that is specified in the URL attribute. Similar to how <a href="url">Link text</a> works...how would I go about doing this?
So far I have tried:
<a href="'<xsl:value-of select="url"/>'"><xsl:value-of select="title"/></a>
Would I need to accomplish this using an XSL variable? I have this to assign the value to the variable but it does not work:
<xsl:variable name="temp" select="'<xsl:value-of select="url"/>'" />
Any help with this would be much appreciated!!!!! :)