PHP Classes

XML to Sensible Array: Parse XML documents into associative arrays

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 595 All time: 5,203 This week: 423Up
Version License PHP version Categories
xmlthing1 0.0.2Free for non-comm...4.0XML
Description Author

This class can be used to parse XML documents into associative arrays.

It takes a XML document string and parses it to build an array with the document structure.

The class returns a nested associative array with details of each document node like the tag names, tag attributes and contained tag data.

Picture of D Moore
Name: D Moore <contact>
Classes: 1 package by
Country: United Kingdom
Age: ???
All time rank: 3042138 in United Kingdom
Week rank: 553 Up19 in United Kingdom Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file test-xmlthing.php Test Simpletest script and translated output
Accessible without login Plain text file xml-test-data.php Appl. Test data
Plain text file xmlthing.class.php Class Class for parsing xml to an array

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