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
Hi,How can I pass variable using RenderMacroContent?Example:<xsl:variable name="Url" select="google.com"><xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO macroAlias="Haeder" Url="[$Url]" ></?UMBRACO_MACRO>', $currentPage/@id)" disable-output-escaping="yes"/>Thanks,
kukuwka
Try concatenating the string:
<xsl:value-of select="umbraco.library:RenderMacroContent(concat('<?UMBRACO_MACRO macroAlias="Haeder" Url="[', $Url, ']" ></?UMBRACO_MACRO>'), $currentPage/@id)" disable-output-escaping="yes"/>
Thank you.
It works.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How pass variables using RenderMacroContent
Hi,
How can I pass variable using RenderMacroContent?
Example:
<xsl:variable name="Url" select="google.com">
<xsl:value-of select="umbraco.library:RenderMacroContent('<?UMBRACO_MACRO macroAlias="Haeder" Url="[$Url]" ></?UMBRACO_MACRO>', $currentPage/@id)"
disable-output-escaping="yes"/>
Thanks,
kukuwka
Try concatenating the string:
Thank you.
It works.
is working on a reply...