Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Raj Kumar Trivedi  >  XML-2-Array  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: XML-2-Array
Parse a XML document and build an array structure
Author: By
Last change:
Date: 2010-10-21 04:57
Size: 179 bytes
 

Contents

Class file image Download
<?php
include('xml2array.inc.php');
$xmlArray = new AWS_XmlToArray('demo.xml');
$xml2Array $xmlArray->createArray();
echo 
"<pre>";
    
print_r($xml2Array);
echo 
"</pre>";
?>