PHP Classes

XML parser: Parse a XML document into an array

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 3,149 This week: 1All time: 1,139 This week: 154Up
Version License PHP version Categories
xml_parser 1.0The PHP License5XML, PHP 5


This class can be used to parse a XML document into an array.

It retrieves the XML document from a file or a remote Web server and parses it into a document object structure.

The class converts the document objects into nested associative arrays of tag nodes.

Picture of zhys9
Name: zhys9 <contact>
Classes: 1 package by
Country: China China
Age: ???
All time rank: 10187 in China China
Week rank: 152 Up2 in China China Up

  • xml2array.jpg
  Files folder image Files  
File Role Description
Plain text file test.xml Data a xml document for test
Plain text file example.php Example example usage
Plain text file ParseXml.class.php Class class of xml parser

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:1,139
This week:154Up
User Comments (2)