View Full Version : XSLT link interpretation

10-01-2008, 07:56 AM
Does anyone know how in a XSLT to have a function interpreted within an anchor tag?

I was attempting to have a C# script within a XSLT generate the actual URL and embed that into the link markup, such as
<a class="todayLink" href="user:eventLink(link)">

example: http://cityofpasadena.net/RSS_Parser/RSSArticles.aspx
XSLT: http://cityofpasadena.net/RSS_Parser...RSS_xcal1.xslt

The second option I tried was generating a complete link/markup dynamically, but when I try to "print" the whole markup/link combination (i.e. <a href="">title</a>) the open and end angle brackets are encoded such as &lt; and the browser outputs as text: http://cityofpasadena.net/RSS_Parser/Sample1.aspx

Any light that could be shed towards a solution would be appreciated.