PHP Classes

XmlArray: Parse an XML document into an array and vice-versa

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 449 All time: 6,191 This week: 660Up
Version License PHP version Categories
xmltoandfromarray 0.1GNU General Publi...5XML, PHP 5, Data types


This class can be used to parse an XML document into an array, and vice-versa, i.e. generate an array from a XML document.

It can parse a XML documents and build a nested associative array that associates XML document tags to tags and data contained.

The class can also do the opposite, i.e. take an associative array and generate a XML document from the array of definitions of tags and data.

Picture of Vasile Sebastian
Name: Vasile Sebastian <contact>
Classes: 1 package by
Country: Romania Romania
Age: 42
All time rank: 340568 in Romania Romania
Week rank: 234 Up6 in Romania Romania Up

  Files folder image Files  
File Role Description
Plain text file class_XmlArray.php Class the class itself
Accessible without login Plain text file test.xml Data xml example file
Accessible without login Plain text file test_xml.php Example example file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,191
This week:660Up