Troy 0

Hi there,

I have a simple XML file containing a list of names in this format

<names>
   <name>
      <first></first>
      <last></last>
   </name>
</names>

How do I go about creating a new in the list? I am using JavaScript at the moment.

  • Do you mean permanently update the file with a new item? Or just read the file into memory and add a new item for the duration of the session? danwellman over 5 years ago