Wednesday 02 April 2008 11:03:41 pm
Hi,
You can use :
- the functions provided via the PHP domxml module. - the eZ API called ezxml. I have experienced both of these and what I can tell you is that ez API is a quicker way to design and produce extensions. However, you may except some performances troubles if you are manipulating large xml files. An explanation is the DOM pattern implemented by this two libs. We have developped a SAX parser and it is quicker and don't crash. If you don't want to implement a SAX parser, you may try to cut your xml in little chunks instead of loading it fully.
Maxime Thomas
maxime.thomas@wascou.org | www.wascou.org | http://twitter.com/wascou
Company Blog : http://www.wascou.org/eng/Company/Blog
Technical Blog : http://share.ez.no/blogs/maxime-thomas
|