Login   Register  
PHP Classes
elePHPant
Icontem

Array to XML: Generate XML documents from associative arrays

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-11-16 (6 years ago) RSS 2.0 feedStarStarStar 49%Total: 2,945 This week: 1All time: 1,156 This week: 1,419Down
Version License PHP version Categories  
arraytoxml 0.1BSD License4.0XML, PHP 5, Data types
Description Author  
This class be used to generate XML documents from associative arrays.

It traverses an associative array recursively.

Array element keys are converted into XML tags. Array element string values are converted into child data or tags. If an array element value is another array it is converted into a nested set of tags.

The generated XML document is stored in class variable or saved to a given file.
Picture of Honoré Vasconcelos
Name: Honoré Vasconcelos <contact>
Classes: 1 package by
Country: Portugal Portugal
Age: ???
All time rank: Not yet ranked
Week rank: 111421 in Portugal Portugal

  Files folder image Files  
File Role Description
Plain text file array2xml.class.php Class Multidimensional array to xml

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,945All time:1,156
 This week:1This week:1,419Down
User Ratings User Comments (3)  
 All time
Utility:83%StarStarStarStarStar
Consistency:79%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:1638