PHP Classes

XML Object: Store and retrieve objects from XML documents

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
Not enough user ratingsTotal: 3,313 All time: 1,044 This week: 423Up
Version License Categories
xmlobject 1.0FreewareXML, Data types


This class can store an object in a XML document.

The class can also do the opposite, which is to parse a XML document and return an object stored in it.

The class uses PHP DOM XML API to generate and parse the XML documents.

Works like XMLEncode and XMLDecode of JAVA

Picture of Augusto Cesar Castoldi
Name: Augusto Cesar Castoldi <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 42
All time rank: 28923 in Brazil Brazil
Week rank: 683 Down44 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file class.Test.php Class Simple class for testing purposes
Plain text file class.XmlObject.php Class The Class
Accessible without login Plain text file XmlObjectTest.php Example Examples of storing an object and reading the xml
Accessible without login Plain text file XmlObjectTest.xml Output Sample of the XML generated

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