0 Replies Latest reply on Nov 14, 2006 4:06 AM by ajeet.ghule

    Inserting/appending a element in XML file in Director Mx

    ajeet.ghule Level 1
      Hi Everybody!
      I am doing one appliction in director in which i require to append a element/node to a existing XML file.On the frame i have two input boxes in which i write a first name and last name of a person. This two values should be added to a XML file when i click a save button.
      Te existing XML structure is like this :
      <?xml version="1.0" encoding="UTF-8"?>
      <ProfileTemplate>
      <Profile count = "1">
      <ProfileName count="1">Profile1</ProfileName>
      <FirstName>abc</FirstName>
      <LastName>XYZ</LastName>
      </Profile>
      <Profile count="2">
      <ProfileName count="2">Profile2</ProfileName>
      <FirstName>PQR</FirstName>
      <LastName>STU</LastName>
      </Profile>
      </ProfileTemplate>


      now i want to appent a third Element.Is there a way in which i can do it in director.
      Waiting for your reply.