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
Hello, I was wondering what the equivilent would be in razor of the following xslt.
<xsl:template match="/"> <a href="#"> <xsl:call-template name="getNodeName"> <xsl:with-param name="linkNode" select="$linkNode"/> </xsl:call-template> </a> </xsl:template> <xsl:template name="getNodeName"> <xsl:param name="linkNode" select="$currentPage" /> <xsl:value-of select="$linkNode/@nodeName"/> </xsl:template>
P.S. - I know that the code above isn't logical in any way. I'm just looking for a way to call a function in razor for use multiple times within a macro partial.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
"xsl:call-template" razor equivalent.
Hello, I was wondering what the equivilent would be in razor of the following xslt.
P.S. - I know that the code above isn't logical in any way. I'm just looking for a way to call a function in razor for use multiple times within a macro partial.
is working on a reply...