PHP Classes

Array to XML: Generate XML documents from associative 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
StarStarStar 48%Total: 3,072 All time: 1,183 This week: 455Up
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

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

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:3,072
This week:0
All time:1,183
This week:455Up
User Ratings User Comments (4)
 All time
Utility:81%StarStarStarStarStar
Consistency:78%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:48%StarStarStar
Rank:2980