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 4861 posts 12138 karma points MVP 3x 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 4006 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 3945 posts 15163 karma points MVP 10x 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies