I have started to use umbraco for a month and come across with a problem I could not solve.
I created an xslt file which genarates xml output for flash carousel but the flash variable needs that xml file. but I could not figure out how I can add that xslt file as xml into flash variable.
I will add some code snippet which will help you guide me
You'll need to turn your XSLT into a macro, then create a simple doc type with associated template that just contains that macro, and finaly, create a page on your site that uses the new doctype. Then when you request your new page, it will load the template, which in turn loads the macro, which generates the XML output, which flash can load.
How to add xslt file as xml into flash variable?
Hi everyone,
I have started to use umbraco for a month and come across with a problem I could not solve.
I created an xslt file which genarates xml output for flash carousel but the flash variable needs that xml file. but I could not figure out how I can add that xslt file as xml into flash variable.
I will add some code snippet which will help you guide me
thanks
deniz
Hi Deniz,
You'll need to turn your XSLT into a macro, then create a simple doc type with associated template that just contains that macro, and finaly, create a page on your site that uses the new doctype. Then when you request your new page, it will load the template, which in turn loads the macro, which generates the XML output, which flash can load.
Many thanks
Matt
Hi Matt,
Thanks for the info. Sometimes to think simple is the key...
ds,
Do you mind sharing the xslt you used to generate the slideshowpro xml? Thanks!
is working on a reply...