My favorites | Sign in
Project Logo
                
Code license: GNU Lesser General Public License
Labels: php, xml
Show all Featured downloads:
PushXML.0.7.0.php.gz
People details
Project owners:
  nicolas.lehuen

This XML parser uses the standard XML SAX parser (which in turn uses expat) to provide a SimpleXML-like data model in a streaming fashion. This way, you get the benefit of an in-memory model without having to load a whole document in memory.

To parse a document, you provide a path expression and a callback function. The path expression tells the parser when to use the callback as soon as a tree branch matching the path expression has been parsed. See the example use in the source code.









Hosted by Google Code