What is the best one for large files? (something about 8Mo)
Parse with SAX, use printf to produce output.
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?
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.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php