PHP Classes

XML to Sensible Array: Parse XML documents into associative arrays

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 596 All time: 5,228 This week: 660Up
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

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:596
This week:0
All time:5,228
This week:660Up