I want to use an XSLT macro multiple times in a template file dynamically. So, because I am not familiar with XSLT syntax, I decided to use a simple Razor macro manually definde with an input field that according to it's input field XSLT macro will be repeated.
Now the problem is: I don't know how to call XSLT macro within Razor macro!
Is "Macro Container" data type usefull for this issue? and how?
How to call XSLT macro within Razor macro?
Hi,
I want to use an XSLT macro multiple times in a template file dynamically. So, because I am not familiar with XSLT syntax, I decided to use a simple Razor macro manually definde with an input field that according to it's input field XSLT macro will be repeated.
Now the problem is: I don't know how to call XSLT macro within Razor macro!
Is "Macro Container" data type usefull for this issue? and how?
Thanks in Advance
If you're not comfortable with XSLT, why not just replace the whole XSLT with Razor? :-)
I think maybe this will work, but to be honest it's painful and I'd just spend the extra time up front to write the XSLT file in Razor:
is working on a reply...