xml dom and php
Posted: Fri Mar 12, 2010 3:29 pm
Hi,
I want to append one xml tag to an existing xml file. That's it.
I want to use XML DOM to acomplish this but i am not sure if this is that simple.
I need to load the xml file, place one new tag at the beggining and then save(xml_file) without the need to read each tag and write it out. I am not much familour with xml dom, but i coudn't find an example like this.
Can I do that?
thanks.
I want to append one xml tag to an existing xml file. That's it.
I want to use XML DOM to acomplish this but i am not sure if this is that simple.
I need to load the xml file, place one new tag at the beggining and then save(xml_file) without the need to read each tag and write it out. I am not much familour with xml dom, but i coudn't find an example like this.
Can I do that?
thanks.