Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • joju 7 posts 27 karma points
    Nov 08, 2010 @ 13:48
    joju
    0

    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?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Nov 08, 2010 @ 13:55
    Jeroen Breuer
    0

    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

  • Rich Green 2246 posts 4008 karma points
    Nov 08, 2010 @ 14:29
    Rich Green
    0

    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

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Nov 08, 2010 @ 15:00
    Lee Kelleher
    0

    Hi Joju,

    Take a look at the XML Dump package - might be useful? or at least point you in the right direction?

    Cheers, Lee.

  • joju 7 posts 27 karma points
    Nov 15, 2010 @ 15:17
    joju
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft