|
-
Apr 2nd, 2003, 02:55 PM
#1
Thread Starter
Addicted Member
Append/Replace XML section? [resolved]
How can I append or replace a single section within my XML file?
Currently, I am having to save the entire XML file when I make changes to my data. But I would like to be able to reduce the time, by only saving 1 section of the XML file.
I would like to be able to save info to the user settings, without saving the entire user and data items, etc.
PHP Code:
...
<user>
<settings .... />
</user>
<data>
<item ... >
....
</item>
...
</data>
...
Reference: (This is how I am reading/writing XML)
Read XML from a file
Write XML to a file
thanks,
Last edited by Shurijo; Apr 4th, 2003 at 07:29 PM.
-Shurijo
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|