Re: [PHP] Large XML manipulation within PHP

2008-04-24 Thread Per Jessen
Steve Gula wrote: > I work for a company that has chosen to use XML (Software AG Tamino > XML database) as its storage system for an enterprise application. We > need to make a system wide change to information within the database > that isn't feasible to do through our application's user interfac

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Bojan Tesanovic
In that case you may want to try XMLReader as it doesn't load all XML into memory. If that doesn't help that you will need to do custom parser application for you need. using XMLReader to read through whole XML chunking it with eg every 5000 items and storing those chunks on disk. Than us

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread @4u
Hi, How about expat with custom XML handlers? Should work even with an 32 MB memory limit. It will just take some time ... Have fun Bastien Koert schrieb: On 4/23/08, Steve Gula <[EMAIL PROTECTED]> wrote: I work for a company that has chosen to use XML (Software AG Tamino XML database) as i

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Stut
On 23 Apr 2008, at 21:41, Steve Gula wrote: I could but it would make things very difficult. Some of the entities around id # 100 could be affected by entities around id #11000 and would result in a file needing to be manipulated at the same time. Unfortunately, I don't think this is a top

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Steve Gula
I could but it would make things very difficult. Some of the entities around id # 100 could be affected by entities around id #11000 and would result in a file needing to be manipulated at the same time. Unfortunately, I don't think this is a top to bottom change for the information at hand. On We

Re: [PHP] Large XML manipulation within PHP

2008-04-23 Thread Bastien Koert
On 4/23/08, Steve Gula <[EMAIL PROTECTED]> wrote: > > I work for a company that has chosen to use XML (Software AG Tamino XML > database) as its storage system for an enterprise application. We need to > make a system wide change to information within the database that isn't > feasible to do throug

[PHP] Large XML manipulation within PHP

2008-04-23 Thread Steve Gula
I work for a company that has chosen to use XML (Software AG Tamino XML database) as its storage system for an enterprise application. We need to make a system wide change to information within the database that isn't feasible to do through our application's user interface. My solution was to unloa