PHP Classes

Generic XML parser class: Arbitrary XML parser.

Recommend this page to a friend!

  Author Author  
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 49
All time rank: 1
Week rank: 4 Down1 in Portugal Portugal Equal

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
- Parses arbitrary XML input and builds an array with the structure of all tag and data elements.
- It can validate and extract data from a whole XML document with just a single call. It supports validationg common tag value data types and can perform custom validations using a subclass.
- Optionally, keeps track of the positions of each element to allow the determination of the exact location of elements that may be contextually in error.
- Supports parsed file cache to minimize the overhead of parsing the same file repeatdly.
- Optimized parsing of simplified XML (SML) formats ignoring the tag attributes.
- Validate and extract data from a whole XML document with single function call

  Classes of Manuel Lemos  >  Generic XML parser class  >  Download Download .zip .tar.gz  >  Support forum Support forum (10)  >  Blog Blog (1)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Generic XML parser class
Base name: xmlparser
Description: Arbitrary XML parser.
Version: 1.0.1
PHP version: 3
License: BSD License
All time users: 40586 users
All time rank: 8
Week users: 2 users
Week rank: 292 Down
  Groups   Screenshots Screenshots   Rate classes User ratings   Dependents  
  Trackback   Applications   Related pages   Files Files  

Group folder image XML XML parsing and generation View top rated classes

  Files folder image Screenshots  
File Role Description
Accessible without login Image file xmlparser.gif Screen Example of the output of a parsed XML document


HTML forms from XML document with PHP
I need to parse XML document using PHP parse functions

Parse XML
Parse XML document

What is the best PHP RSS parser class?
Parse a RSS XML feed

Extract XML tag values
Parse a XML document and extract the values

Parse Amazon XML file
I am unable to get Amazon XML file to parse in PHP

Looking for an ONIX feed parser and generator
Parsing and/or generating ONIX

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (79%) Sufficient (75%) Good (84%) Sufficient (70%) - - Sufficient (62%) 1029
Month: Not yet rated by the users

  Other classes that need this package  
Class Why it is needed Dependency
Freshmeat project query class Parse the Freshmeat project XML records Required
Metabase If it is used the schema management support, this class is used to parse the XML schema definitions Conditional
PHP SVN Client XML parsing Required
Secure HTML parser and filter It is neeeded to parse the xssAttacks.xml file with tested XSS attack vectors definitions Conditional
SOAP server class Parse the SOAP XML requests Required

  Pages that reference this package  
Parsing XML – Small issue…
i am using this php class to parse xml data received when i execute this encorded url...
PHP Generic XML parser class
To implement a project to exchange data between remote 1S : Buhgalteriyami and central database 1S : Enterprise (all through corporate veb-servera), looking for information directly on the server...

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.

  Related pages  
XML writer class
Class that does the opposite: writing a XML document structure to a file or stream.

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.xml Data XML example file for the test script
Accessible without login Plain text file extract_valid_xml_data.php Example Example of how to validate and extract data from a XML document
Accessible without login Plain text file test_xml_parser.php Example Class test script
Plain text file xml_parser.php Class XML parser class
Accessible without login HTML file xml_parser_class.html Doc. Class documentation

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