PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 38%Total: 1,084 All time: 3,446 This week: 660Up
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: 42
All time rank: 1115 in India India
Week rank: 187 Down14 in India India Down

  Files folder image Files (3)  
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 xml2array.inc.php Class xml2array

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,084
This week:0
All time:3,446
This week:660Up
User Ratings User Comments (2)
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:38%StarStar
Rank:3957
 
Does not work for me and my big xml file
13 years ago (Denis Moskvin)
10%Star
This is a good and useful class ! lool
13 years ago (José Filipe Lopes Santos)
70%StarStarStarStar