How to call (use) one XSLT macro multiple time in Razor macro?
Hi,
I want to use an XSLT macro multiple times in a template file according to the number of folders for example. Because I am not familiar with XSLT syntax, I decided to use a simple Razor macro manually (a simple foreach statement) that according to the calculated count 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 (use) one XSLT macro multiple time in Razor macro?
Hi,
I want to use an XSLT macro multiple times in a template file according to the number of folders for example. Because I am not familiar with XSLT syntax, I decided to use a simple Razor macro manually (a simple foreach statement) that according to the calculated count 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
Hi!
I think that this thread would help you get up to speed: http://our.umbraco.org/forum/developers/xslt/16364-Any-possibility-of-combine-XSLT,-Python-and-Razor-Eg-Macro-within-Macro
// M
is working on a reply...