PHP Classes

XML-2-Array: Parse a XML document and build an array structure

Recommend this page to a friend!
  Info   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: 1,082 All time: 3,428 This week: 248Up
Version License PHP version Categories
xml-2-array 1.0Free for non-comm...5.0XML, PHP 5
Description Author

This class can be used to parse a XML document and build an array structure.

It takes a given XML file and parses it.

The class builds a nested array that contains the structure of tags and data of the XML document.

Picture of Raj Kumar Trivedi
Name: Raj Kumar Trivedi <contact>
Classes: 11 packages by
Country: India India
Age: 39
All time rank: 1125 in India India
Week rank: 241 Down25 in India India Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example File
Accessible without login Plain text file demo.xml Data Demo Xml File
Plain text file Class xml2array

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,428
This week:248Up
User Comments (2)
Does not work for me and my big xml file
10 years ago (Denis Moskvin)
This is a good and useful class ! lool
11 years ago (Josť Filipe Lopes Santos)
For more information send a message to info at phpclasses dot org.