PHP Classes

Path Parser: Generic SAX parsing for XML made easy

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,505 All time: 2,600 This week: 660Up
Version License Categories
class_path_parser 1.0GNU Lesser Genera...XML
Description 

Author

This class parses XML documents (from URLs or filepaths) allowing you to set handlers for specific XML elements indicated with paths, for example /foo/data/name. When the parser detects an XML element matching a path the user function is called receiving the element name, attributes and content (a xml fragment or text). You can handle multiple paths with just one function or use a specific function for each path.

Picture of Luis Argerich
Name: Luis Argerich <contact>
Classes: 3 packages by
Country: Australia Australia

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file class_path_parser.php ??? The class
Accessible without login Plain text file foo.xml ??? XML file for the example
Accessible without login Plain text file main.css ??? CSS for documentation
Accessible without login HTML file path_parser.html ??? Documentation
Accessible without login Plain text file path_parser.php ??? An example script using the class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,505
This week:0
All time:2,600
This week:660Up