Hi,
OK.... I've seen tons and tons and tons... of articles on reading or parsing an XML file. I've used the startElement, endElement, characterData functions associated with PHP to read or parse an XML instance and it works great.
I want to write a new node or element, and I want it AFTER the last of a collection. So if I have an XML document of 44 recipies, I want to add a 45th recipie after the first 44.
Or..... I want to rewrite one node, say change recipie 31 for example.
I've seen NO aritcles or tutuorials that show how to do this. I have a sneaky suspicision this isn't so easy as parsing was.
Does anybody know of tutorials to show how to do this? to write specific nodes or elements into an XML file or instance WITHOUT rewriting the whole entire file????
Thanks In Advance!
Vmusic