1

For the desktop site I have a content in Umbraco where <p><?UMBRACO_MACRO macroAlias="StoryDesc" /></p> refers to XSLTName field

I am making a call from one XSLT to StroyDesc XSLT as

<xsl:variable name="StoryXSLT" select="$currentPage/XSLTName"/>

<xsl:value-of select="umbraco.library:RenderMacroContent(StoryXSLT, $currentPage/id)" />

Now for mobile site I have different XSLT MobileStoryDesc instead of StoryDesc. I cannot add a new separate content like <p><?UMBRACO_MACRO macroAlias="MobileStoryDesc" /></p>. But I can alter the existing content without affecting the present desktop site.

Is it possible to make a XSLT call. Please suggest me a solution. Thanks in advance.

4

1 に答える 1