The scenario that you escribe sounds a lot like you are trying to render the content from the RTE using a <xsl:value-of ... />. This will not work when you want to render a macro through the editor. When you want to render a macro, from inside a XSLT-file, you need to use one of the two following extensions:
umbraco.library:RenderMacroContent()
umbraco.library:Item()
If you use the umbraco.library:Item extension you'll get the benefit that you can edit the field in canvas mode the same way that if the field was rendered through an umbraco:item field in a template.
RTE Macros works in Master but not in XSLT
When I add a field to Master file directly, macros work. If I put field to XSLT macro comes out as plain text.
Is this normal behavior?
Hi Jukka
Have you tried to render the macroes using the umbraco.library:RenderMacrocontent() extension?
Or am I missing something?
/Jan
Hi Jukka
The scenario that you escribe sounds a lot like you are trying to render the content from the RTE using a <xsl:value-of ... />. This will not work when you want to render a macro through the editor. When you want to render a macro, from inside a XSLT-file, you need to use one of the two following extensions:
umbraco.library:RenderMacroContent()
umbraco.library:Item()
If you use the umbraco.library:Item extension you'll get the benefit that you can edit the field in canvas mode the same way that if the field was rendered through an umbraco:item field in a template.
/Kim A
is working on a reply...