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

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 59%Total: 2,008 All time: 1,940 This week: 270Up
Version License PHP version Categories
simplelargexmlparser 1.6GNU Lesser Genera...5.0XML, PHP 5
Description Author

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.

Picture of Protung Dragos
Name: Protung Dragos is available for providing paid consulting. Contact Protung Dragos .
Classes: 10 packages by
Country: Romania Romania
Age: 37
All time rank: 281 in Romania Romania
Week rank: 70 Down1 in Romania Romania Equal
Innovation award
Innovation award
Nominee: 3x

Details
       ___________________________________________________________

               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 ;)
  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,008
This week:0
All time:1,940
This week:270Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:60%StarStarStarStar
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1481
  

For more information send a message to info at phpclasses dot org.