How can I split a big XML file into smallers with PHP? -


i have xml file on 300 000 entries script has parse each day..

the xml structure :

<root> <item> <proper1></proper1> <proper2></proper2> </item> </root> 

i need split big xml file smaller files php can run them, cant proccess because uses memory. can 1 me ?

please take @ article php xml parsing

  1. sax parsing
  2. xml reader xmlreader pull parser

will best suited job

read above article try code answer


Comments

Popular posts from this blog

JQuery Autocomplete without using label, value, id -

c++ - Accessing inactive union member and undefined behavior? -

JAVA - what is the difference between void and boolean methods? -