• 0

[PHP] DOM XML


Question

Hi There guys,

Hoping someone can help me. basically i have an exisiting XML file. and it has a structure like:

<data>

<booking>

<info1></info1>

<info2></info2>

etc

</booking>

</data>

Now what i want to do is to add new "booking" elements with information into the existing file. I've search all through google and not had much luck finding a way to do this. Im hoping to use the XML DOM to do this.

Also I'm hoping to not have to specifically load the file into memory and re-write the whole thing as it will become very large after a while.

Can anyone let me know if this is possible, and if so any code hints or places to look which will help?

Thanks so much,

crashguy

Link to comment
https://www.neowin.net/forum/topic/545563-php-dom-xml/
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.