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 yet rated by the usersTotal: 448 All time: 6,173 This week: 423Up
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: 41
All time rank: 338768 in Romania Romania
Week rank: 503 Up4 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,173
This week:423Up