[PHP] Re: php newbie question with xml files

2005-05-04 Thread Jared Sherman
Thanks these pointers have helped alot. "Jared Sherman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >I have an xml document storing some data I need. What I want to do is this: > 1. Scan to the end of the file. > 2. Find the closing tag. > 3. Inse

[PHP] php newbie question with xml files

2005-05-02 Thread Jared Sherman
e and insert my lines part way through then finish the last tag. My problem is I'm looking for a and it comes up as endtag. Is there anyway to force PHP to read the .xml file as a text file so it wont strip off the xml tag information? I've used fopen with fgets and fwrite, and file wit