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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...