Re: modify an XML file
| From: | Raditha Dissanayake | Date: | Mon, 02 Feb 2004 00:48:33 +0000 |
| Subject: | Re: modify an XML file | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176535@lists.php.net to get a copy of this message | ||
Decapode Azur wrote:
-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.Ok, it seems this method is defenitly a good one. I was wondering if it was a good one too, to read the XML file with fgets, and using ereg fonctions to make the modifications? If you have only a 2-3 tags you might find it easy but beyond that you code will end up looking like a sax parser's source code.What is the best one for large files? (something about 8Mo)Parse with SAX, use printf to produce output.