You're actually doing two very different things - RenderMacroContent() returns a string, whereas the variable holds XML that the node-set() function can reinterpret to an XPath-navigable node set.
You could make the macro-rendering available at its own URL and grab the file with the GetXmlDocumentByUrl() function... that's another HTTP request, but the function has a second "cacheSeconds" argument for caching the result.
Otherwise, you could create an XSLT extension for this.
RenderMacroContent to nodes
Hi all,
I've got a macro "myMacro"calling "myMacro.xslt" that render an xml file
[code]
]>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library ">
[/code]
I want to use the rendering of this macro inside another xslt file and navigate into the
I have the same issue. Can anyone help?
You're actually doing two very different things - RenderMacroContent() returns a string, whereas the variable holds XML that the node-set() function can reinterpret to an XPath-navigable node set.
You could make the macro-rendering available at its own URL and grab the file with the GetXmlDocumentByUrl() function... that's another HTTP request, but the function has a second "cacheSeconds" argument for caching the result.
Otherwise, you could create an XSLT extension for this.
/Chriztian
Yup, OK got it.
I have an xslt extension to do the job.
Thanks.
is working on a reply...