Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
If i use the:
<umbraco:Macro runat="server" language="xslt" filelocation="/xslt/file.xslt" someparameter="foo" />
I can't get the value in the XSLT file:
<xsl:value-of select="/macro/someparameter" />
Would be great if this was possible
Regards,Magnus
Hey Magnus,
You grab it like this
<xsl:param name="currentPage"/><xsl:variable name="source" select="/macro/foo"/><xsl:template match="/"><xsl:value-of select="$source"/><xsl:template>
Rich
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Parameter to XSLT file?
If i use the:
I can't get the value in the XSLT file:
Would be great if this was possible
Regards,
Magnus
Hey Magnus,
You grab it like this
<xsl:param name="currentPage"/>
<xsl:variable name="source" select="/macro/foo"/>
<xsl:template match="/">
<xsl:value-of select="$source"/>
<xsl:template>
Rich
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.