frankenscarf
08-17-2004, 07:48 AM
so i've got this nice xml file that contains dozens of childnodes. each childnode has a dozen attributes.
i can pull the attributes out of a specific childnode and populate textfields with them. now i want to edit one or more of those textfields and save changes to original xml file.
assuming that i can pass both the originalNode and modifiedNode data from Flash, using php, how can i replace a specific childnode in the xml file with an updated version of itself? all i've read about thusfar has been writing new files or overwriting the whole, not editing individual parts.
any help is greatly appreciated.
i can pull the attributes out of a specific childnode and populate textfields with them. now i want to edit one or more of those textfields and save changes to original xml file.
assuming that i can pass both the originalNode and modifiedNode data from Flash, using php, how can i replace a specific childnode in the xml file with an updated version of itself? all i've read about thusfar has been writing new files or overwriting the whole, not editing individual parts.
any help is greatly appreciated.