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 enough user ratingsTotal: 596 This week: 1All time: 5,218 This week: 560Up
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: 3060139 in United Kingdom
Week rank: 411 Up12 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  
 0%
Total:596
This week:1
All time:5,218
This week:560Up