Login   Register  
PHP Classes
elePHPant
Icontem

XML

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ricardo Alexandre Sismeiro  >  XML  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: XML
Base name: array2xml_xml2array
Description: Parse XML documents into arrays and vice-versa
Related classes: , , ,
Version: 1.0
PHP version: 5.1
License: GNU General Public License (GPL)
All time users: 1360 users
All time rank: 2401
Week users: 3 users
Week rank: 1179
 

  Author  
Picture of Ricardo Alexandre Sismeiro
Name: Ricardo Alexandre Sismeiro <e-mail contact>
Packages: 2 Browse all classes by Ricardo Alexandre Sismeiro Browse all classes by
Country: Portugal Portugal - PHP jobs in Portugal
Age: 31
All time rank: 126014 in Portugal Portugal
Week rank: 982 Up14 in Portugal Portugal Equal


  Detailed description  
This class can be used to parse XML documents and build an array with the document structure.

It can also generate XML documents from nested arrays that define the document tag structure.

The class can load XML documents from files or text strings. It turns the document tags into keys of a nested associative array. The resulting array is stored in a class variable.

It can also take an array with the document structure and generate a XML document. The document XML is returned as a string.

  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image XML XML parsing and generation View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Data types Modeling and manipulating data types View top rated classes


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file example.xml Output xml source
Plain text file example_array2xml.php Example example
Plain text file example_xml2array.php Example example
Plain text file xml.php Class class

Download all files: array2xml_xml2array.tar.gz array2xml_xml2array.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.