PHP Classes

xmlReader: Parse an XML document and build a nested array

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,796 All time: 2,182 This week: 423Up
Version License Categories
xmldomitparser 1.0.0Free For Educatio...XML
Description 

Author

This is a simple class that can parse an XML document and return a nested associative array with the document tag structure.

The returned array has as many dimensions as the nesting depth of the XML document tags.

The class uses domIT class as the base class to parse an XML file.

Picture of sushil bajimaya
Name: sushil bajimaya <contact>
Classes: 1 package by
Country: Nepal Nepal
Age: ???
All time rank: 16192 in Nepal Nepal
Week rank: 312 Up1 in Nepal Nepal Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file tsubmenu2.xml Data a sample xml file
Plain text file xmlReader_class.php Class the main class file to parse an xml file
Accessible without login Plain text file xmltest.php Example tests the xmlReader class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,796
This week:0
All time:2,182
This week:423Up