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    
Last Updated Ratings Unique User Downloads Download Rankings
2006-05-06 (14 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 1,793 All time: 2,167 This week: 794Up
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.

Name: sushil bajimaya <contact>
Classes: 1 package by
Country: Nepal Nepal
Age: ???
All time rank: 15992 in Nepal Nepal
Week rank: 666 Up3 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  
This week:0
All time:2,167
This week:794Up

For more information send a message to info at phpclasses dot org.