PHP Classes

Recursive array to XML: Generate XML documents from nested arrays

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 1,695 This week: 1All time: 2,324 This week: 560Up
Version License PHP version Categories
recursivearraytoxml 0.1BSD License5.0XML, Data types
Description 

Author

This class can be used to generate XML documents from nested arrays.

It takes an associative array and traverse it to generate a XML document on which the array keys are turned into XML tags and array entry values are nodes of the XML tags.

The XML document encoding, version, line indenting and line endings are configurable parameters.

Picture of Mikael Göransson
Name: Mikael Göransson <contact>
Classes: 1 package by
Country: Sweden Sweden
Age: 40
All time rank: 169814 in Sweden Sweden
Week rank: 416 Up6 in Sweden Sweden Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file xml.php Class Class file
Accessible without login Plain text file example.php Example A short example of what the class is meant to do
Accessible without login Plain text file contents.txt Data Description of the files in this package
Plain text file method_summary.txt Doc. A summary of the public methods in xml.php

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,695
This week:1
All time:2,324
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:58%StarStarStar
Documentation:58%StarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1732