Login   Register  
PHP Classes
elePHPant
Icontem

Generic XML parser class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Manuel Lemos
Name: Manuel Lemos <e-mail contact>
Packages: 32 Browse all classes by Manuel Lemos Browse all classes by
Country: Portugal Portugal - PHP jobs in Portugal
Age: 44
All time rank: 1
Week rank: 3 Down1 in Portugal Portugal Equal


  Detailed description   Download .zip .tar.gz  
- 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 .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: -
PHP version: 3
License: BSD License
All time users: 38872 users
All time rank: 7
Week users: 18 users
Week rank: 77 Down
 
  Groups   Screenshots Screenshots   Freshmeat project   Rate classes User ratings  
  Dependents   Trackback   Applications   Related links   Files Files  

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

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


  Freshmeat project  
Generic XML parser class
Project record: xmlparserclass
Popularity score: 145.99
Vitality score: 11.46

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (78.0%)
Sufficient (74.3%)
-
Sufficient (68.0%)
-
-
Not sure (53.2%)
1324
Month:
Not yet rated by the users

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

  Trackback links  
Link Description
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...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
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

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