Login   Register  
PHP Classes
elePHPant
Icontem

Class: XMLns2array

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mark Holtzhausen  >  XMLns2array  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: XMLns2array
Base name: xmlns2array
Description: Convert a XML document into an array
Related classes: ,
Version: -
PHP version: 5.0
License: BSD License
All time users: 347 users
All time rank: 5298
Week users: 1 user
Week rank: 2503
Picture of Mark Holtzhausen
Author: Mark Holtzhausen <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: South Africa South Africa - PHP jobs in South Africa
Age: 36
All time rank: 225917 in South Africa South Africa
Week rank: 1661 Up12 in South Africa South Africa Up


  Detailed description  
This class can be used to convert a XML document into an array.

It takes XML document structure as a SimpleXMLElement object and traverses it to build a nested array structure.

The class preserves the original document namespaces.

 

  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

  Rate classes User ratings   Applications   Files Files  

  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 XMLns2array.inc.php Class XML (NS) 2 Array Static Class
Plain text file test.php Example Test File containing XML snippet to parse
Plain text file TestResults.txt Output Test File Containing the results from the test.php execution

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