2 Replies Latest reply on Aug 7, 2007 9:54 AM by TorrenteDev

    Write XML in Apollo Flex

    TorrenteDev
      I am using Flex to create an Apollo Application. How would I go about adding new nodes in an xml file?

      For instance, my xml file when I load it in is:

      <TodoList>
      <Category label="Flex Todos">
      <Tasks>
      <Task>
      <Description>Get Flex App Finished</Description>
      <Priority>High</Priority>
      <DueDate>23412342</DueDate>
      <Status>Finished</Status>
      </Task>
      <Task>
      <Description>Finish Todo App</Description>
      <Priority>Low</Priority>
      <DueDate>9-28374</DueDate>
      <Status>Started</Status>
      </Task>
      <Task>
      <Description>Write Flex-IRC Client</Description>
      <Priority>Medium</Priority>
      <DueDate>2012938</DueDate>
      <Status>Idle</Status>
      </Task>
      </Tasks>
      </Category>
      <Category label="School Work">
      <Tasks>
      <Task>
      <Description>Renaissance Essay</Description>
      <Priority>Medium</Priority>
      <DueDate>3923401</DueDate>
      <Status>Finished</Status>
      </Task>
      </Tasks>
      </Category>
      </TodoList>

      I want the user to be able to add a "Task" in my application, which I will then add to the XML file and save. Any ideas?