So I created a template for a simple link builder function.
Problem is, when I use it, I don't get the link, I get just the text.
Could anyone help me understand what I'm doing wrong?
Thanks!
<xsl:variable name="ReadMore">
<xsl:call-template name="linkBuilder" >
<xsl:with-param name="linkID" select="format-number(@ID, '#,##0.#;-#,##0.#')" />
</xsl:call-template>
</xsl:variable>
<xsl:value-of select="concat(substring(@Body,0,300),'...', $ReadMore)" disable-output-escaping="yes" />
And the function itself
<xsl:template name="linkBuilder">
<xsl:param name="linkID" />
<a href="http://mysite.com/page_view.aspx?ID={$linkID}">[read more]</a>
</xsl:template>