hi there, is there a way to output XML from an umbraco page or umbraco macro... i want to be able to dynamically generate an xml file without really needing to generate a physical file... how can i set the output of the umbraco page to xml?
yes, xml dump could be of great use but as of now, i have settled in using umbraco.library:ChangeContentType('text/xml') function since i need to make a specific xml structure according the flash app which we are doing
generate dynamic xml file from an umbraco page
hi there, is there a way to output XML from an umbraco page or umbraco macro... i want to be able to dynamically generate an xml file without really needing to generate a physical file... how can i set the output of the umbraco page to xml?
You could use /base for this. This topic isn't really related, but it also discusses how you can output xml: http://our.umbraco.org/forum/developers/api-questions/11620-Flash-website-in-Umbraco-45.
Jeroen
You could just output the xml to a template, either using an alternative template (alttemplate), or just a template.
I'm not sure what you mean by creating a 'physical file' the xml would just get generated when called.
Might help if you explain what you're trying to achieve?
Rich
Hi Joju,
Take a look at the XML Dump package - might be useful? or at least point you in the right direction?
Cheers, Lee.
yes, xml dump could be of great use but as of now, i have settled in using umbraco.library:ChangeContentType('text/xml') function since i need to make a specific xml structure according the flash app which we are doing
is working on a reply...