Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
Parsing large XML files How to do this? designaweb
I have tried several ways to load a large XML file (6MB) into an array using PHP. Many approaches work fine on a snippet (=small chuck of the same file), but don't do anything with the larger XML file. I am lost. Is there anyone who has experience with this?
designaweb, Are you parsing the xml file for browser display? If so, you might look into using an xsl stylesheet to apply your transformation against the xml file.
I did a quick search and found an article that might help you do this.
XML/XSL transformations with PHP [ zend.com]