All look perfect. But... in the Macro itself (Developer section, Macro section of the treeview), have you added the itemsPerLine parameter? If not, your macro call can't pass values into the xslt. The Macro is the gateway (or 'api' if you will) between your umbraco:Macro call and the xslt or .net control that will process it.
Simple variable passed into macro won't output value
Hi,
I'm trying to get a variable from a macro into XSLT and output in XHTML. The variable is 'itemsPerLine'. The macro is:
The xslt is:
Can anyone see why this value doesn't output?
Thanks all.
All look perfect. But... in the Macro itself (Developer section, Macro section of the treeview), have you added the itemsPerLine parameter? If not, your macro call can't pass values into the xslt. The Macro is the gateway (or 'api' if you will) between your umbraco:Macro call and the xslt or .net control that will process it.
Let us know what you find out.
cheers,
doug.
You've opened up a world of new possibilities Doug! Thanks very much, that's working now :)
is working on a reply...