PHP Xml add edit delete

Posted by user560411 on Stack Overflow See other posts from Stack Overflow or by user560411
Published on 2011-01-08T19:51:51Z Indexed on 2011/01/08 20:53 UTC
Read the original article Hit count: 255

Filed under:
|

Hi there. I am kind of new and I have the following XML structure an I would like to have codes that

INSERTS

DELETES Delete an entire element based on it's TITLE value.

EDIT Replace Publisher's value with another value

<Game type="XXX">
<TITLE>XXX</TITLE>
<PUBLISHER>XXX</PUBLISHER>
</Game>

This is my XML structure

<Game type="adventure">
<TITLE>Assassin's Creed: Brotherhood</TITLE>
<PUBLISHER>Ubisoft</PUBLISHER>
</Game> 

<Game type="adventure">
<TITLE>Batman: Arkham Asylum</TITLE>
<PUBLISHER>Eidos</PUBLISHER>
</Game>

</GameStore>

Any help would be great and thank you in avdance!

© Stack Overflow or respective owner

Related posts about php

Related posts about Xml