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
I need a little help writing my XSLT for this. I have a fixed node (e.g. I know the node ID and it doesn't change). I need to output a variable from that node in my content page. I'm not sure how to get started.
Any help is appreciated.
Respectfully,
Ray K. Ragan
<xsl:variable name="node1" select="umbraco.library:GetXmlNodeById(numberofnode)" /> <xsl:value-of select="$node1/nameofvariable" />
good luck :)
@Eran, thank you. Your suggestion got me pointed in the right direction. As it turned out, it was super easy in my implementation:
<xsl:value-of disable-output-escaping="yes" select="umbraco.library:GetXmlNodeById(myNodeNum)"/>
I have a single data field that is HTML encoded. This did the trick!
Thanks,
Ray
happy to hear that, don't forget to mark my post as solution
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Output from a fixed node
I need a little help writing my XSLT for this. I have a fixed node (e.g. I know the node ID and it doesn't change). I need to output a variable from that node in my content page. I'm not sure how to get started.
Any help is appreciated.
Respectfully,
Ray K. Ragan
good luck :)
@Eran, thank you. Your suggestion got me pointed in the right direction. As it turned out, it was super easy in my implementation:
<xsl:value-of disable-output-escaping="yes" select="umbraco.library:GetXmlNodeById(myNodeNum)"/>
I have a single data field that is HTML encoded. This did the trick!
Thanks,
Ray
happy to hear that, don't forget to mark my post as solution
is working on a reply...