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    
Last Updated Ratings Unique User Downloads Download Rankings
2009-01-02 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,770 This week: 1All time: 2,142 This week: 1,042Up
Version License PHP version Categories
simple_xml_2_array 1.0GNU General Publi...5.0XML, PHP 5
Description Author

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: 36
All time rank: 156490 in India India
Week rank: 856 Up61 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:1
All time:2,142
This week:1,042Up