Results 1 to 14 of 14

Thread: Append/Replace XML section? [resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 1999
    Posts
    164

    Lightbulb 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
  •  



Click Here to Expand Forum to Full Width