PHP Classes

Path Parser: Generic SAX parsing for XML made easy

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,504 All time: 2,596 This week: 839Up
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
Age: ???
All time rank: 95815 in Australia Australia
Week rank: 587 Up7 in Australia Australia Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,596
This week:839Up