Re: modify an XML file
| From: | Marek Kilimajer | Date: | Sun, 01 Feb 2004 18:15:20 +0000 |
| Subject: | Re: modify an XML file | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176521@lists.php.net to get a copy of this message | ||
Decapode Azur wrote:
You can do it as an exercise :-) There are xml parsing classes that do not depend on any xml extension, but they are certainly slower.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?What is the best one for large files? (something about 8Mo)Parse with SAX, use printf to produce output.