PHP Classes

Simple XML Generator: Create XML documents from arrays using SimpleXML

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,093 All time: 3,423 This week: 660Up
Version License PHP version Categories
simple-xml-generator 1.0GNU General Publi...5.1XML, PHP 5, Data types


This class can be used to create XML documents from arrays using SimpleXML PHP extension.

The generated document and be displayed as the current script output.

It takes an associative array and traverses it recursively to add tags and data to the XML document.

The code and comments are in Portuguese.

In Portuguese:
Simples classe que gera um arquivo XML a partir de um Array Associativo

Picture of Marcos Timm Rossow
Name: Marcos Timm Rossow <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 39
All time rank: 2246151 in Brazil Brazil
Week rank: 234 Up16 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Plain text file Xml.Class.php Class Xml.Class.php

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