To be clearer, you can't just insert umbraco macro code from a template or richtext html into your xslt. This has to do with when & where umbraco expects to be handling its own macros. But, you can easily access a .NET control from Xslt when used as an xslt extension. I couldn't find any particularly good link on how to do it, but there are some forum posts that will get you started if you search "xslt extension".
Then you can attach whatever parameters you want to your Xslt calling umbraco macro, and the xslt can pass the parameters to your control for its response.
Render .Net Control from xslt
I have a .net based macro and an xslt macro..... the .net macro works perfectly when inserted in a template...
but when it is inserted in the xslt file browser hangs and iis gets stuck...so i had to reset iis....Wats the problem??
I think the problem is that it's not possible to include a .net macro/usercontrol in a xslt macro...
But i need to ...is there any solution for it??
No You can't use a .Net macro in an XSLT Macro.
To be clearer, you can't just insert umbraco macro code from a template or richtext html into your xslt. This has to do with when & where umbraco expects to be handling its own macros. But, you can easily access a .NET control from Xslt when used as an xslt extension. I couldn't find any particularly good link on how to do it, but there are some forum posts that will get you started if you search "xslt extension".
Then you can attach whatever parameters you want to your Xslt calling umbraco macro, and the xslt can pass the parameters to your control for its response.
is working on a reply...