PHP Classes

Simple XML to Array : Parse XML documents into arrays

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
Not enough user ratingsTotal: 1,774 All time: 2,205 This week: 660Up
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

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

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,774
This week:0
All time:2,205
This week:660Up