PHP Classes
elePHPant
Icontem

PHP Simple Large XML Parser: Parse XML documents and return arrays of elements

Recommend this page to a friend!

  Author Author  
Name: Protung Dragos <contact>
Classes: 10 packages by
Country: Germany Germany
Innovation award
Innovation award
Nominee: 3x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can be used to parse XML documents and return arrays of elements.

It can load a XML document from a file and extract the structure of tags into eventually nested arrays.

The class can perform a query of the document using XPath syntax to retrieve only specific XML nodes that match the query.

Details
{startverticalbanner}
       ___________________________________________________________

               PHP Simple Large XML parser - Version 1.6
                           October 2009
       ___________________________________________________________

                   Copyright (c) 2009 Dragos Protung

_______________________

CONTENTS
_______________________

1. Description
2. System Requirements
3. How to use
4. Contact

_______________________

1. Product Description
_______________________

This class can be used to parse large XML files (it works with small one also) fast and with minimum of memory consumption.
It can parse any valid XML and convert it to an array.
You can parse any part of the XML as it supports XPath with the same performance as parsing the entire XML (well, a little bit faster as it’s less data to parse)
_______________________

2. System Requirements
_______________________

PHP 5.0+

______________

3. How to use
______________

Please refer to the example script. 

______________

3. Contact
______________

Please send your suggestions, bug reports and general feedback to dragos@protung.ro
Also visit http://www.protung.ro


Out for now ;)

  Classes of Protung Dragos  >  PHP Simple Large XML Parser  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Simple Large XML Parser
Base name: simplelargexmlparser
Description: Parse XML documents and return arrays of elements
Version: 1.6
PHP version: 5.0
License: GNU Lesser General Public License (LGPL)
 
  Groups   Trackback   Applications   Files Files  

  Groups  
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Pages that reference this package  
New PHP Simple Large XML Parser version
I have added support for node attributes to the PHP Simple Large XML Parser class...
PHP simple large XML parser
I needed a simple PHP script to parse large XML files fast and without huge memory consumption, so I’ve written a small class for this...
Simple XML Parser Namespace support
I have added support for namespaces to the parser...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file SimpleLargeXMLParser.class.php Class The class
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file example.xml Data Example XML
Accessible without login Plain text file license.txt Lic. License
Accessible without login Plain text file readme.txt Doc. Readme

Install with Composer Install with Composer - Download Download all files: simplelargexmlparser.tar.gz simplelargexmlparser.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.