PHP Classes

Simple XML to Array : Parse XML documents into arrays

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,773 All time: 2,203 This week: 423Up
Version License PHP version Categories
simple_xml_2_array 1.0GNU General Publi...5.0XML, PHP 5


This class can be used to parse XML documents into arrays.

It uses the DOM functions to parse a given XML document passed as a string.

The class builds an array that contains the structure of tags and data contained in the XML document.

Picture of Vineet Sethi
Name: Vineet Sethi <contact>
Classes: 1 package by
Country: India India
Age: 43
All time rank: 163393 in India India
Week rank: 641 Up48 in India India Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example file
Plain text file xml2array.php Class Class File

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