PHP Classes

XML parser: Parse a XML document into an array

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 58%Total: 3,163 All time: 1,135 This week: 67Up
Version License PHP version Categories
xml_parser 1.0The PHP License5XML, PHP 5
Description 

Author

This class can be used to parse a XML document into an array.

It retrieves the XML document from a file or a remote Web server and parses it into a document object structure.

The class converts the document objects into nested associative arrays of tag nodes.

Picture of zhys9
Name: zhys9 <contact>
Classes: 1 package by
Country: China China

 

Screenshots (1)  
  • xml2array.jpg
  Files folder image Files (4)  
File Role Description
Plain text file test.xml Data a xml document for test
Plain text file example.php Example example usage
Plain text file ParseXml.class.php Class class of xml parser

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:3,163
This week:0
All time:1,135
This week:67Up
User Ratings User Comments (2)
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1461