Welcome to WebmasterWorld Guest from 18.104.22.168 , 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 msg:702324 3:34 am on Mar 27, 2006 (gmt 0) Hi there,
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?
macrost msg:702325 7:43 pm on Mar 30, 2006 (gmt 0)
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]