Login   Register  
PHP Classes
elePHPant
Icontem

xmlReader: Parse an XML document and build a nested array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-05-06 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,764 All time: 2,068 This week: 1,524Up
Version License Categories  
xmldomitparser 1.0.0Free For Educational UseXML
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: 14982 in Nepal Nepal
Week rank: 1790 Down3 in Nepal Nepal Down

  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,764All time:2,068
 This week:0This week:1,524Up