PHP Classes

Simple XML Array Helper: Generate or convert XML documents into 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: 389 All time: 6,664 This week: 660Up
Version Licenses PHP version Categories
simplexml-array-help 0.1BSD License, GNU ...5.1XML, PHP 5
Description 

Author

This class can generate or convert XML documents into arrays.

It can parse a XML document and return a nested array that represents its structure of tags and data.

The class can also do the opposite, i.e. generate XML documents from nested arrays with the XML document structure.

Picture of Kirill Shvakov
Name: Kirill Shvakov <contact>
Classes: 3 packages by
Country: Russian Federation Russian Federation

  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file array2xml.php Example Array to Xml Example
Accessible without login Plain text file collection.xml Data example xml
Plain text file SimpleXMLArrayHelper.php Class SimpleXMLArrayHelper
Accessible without login Plain text file xml2array.php Example Xml to Array example

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:389
This week:0
All time:6,664
This week:660Up
User Comments (1)
Quite useful
14 years ago (Jacek Lukasiewicz)
57%StarStarStar