Login   Register  
PHP Classes
elePHPant
Icontem

File: example_xml2array.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ricardo Alexandre Sismeiro  >  XML  >  example_xml2array.php  >  Download  
File: example_xml2array.php
Role: Example script
Content type: text/plain
Description: example
Class: XML
Parse XML documents into arrays and vice-versa
Author: By
Last change:
Date: 2007-12-27 16:38
Size: 183 bytes
 

Contents

Class file image Download
<?php
      
      
require_once('xml.php');
        
      
$xml=new xml();
      
$xml->load_file('example.xml');
      
$array=$xml->xml2array();
      
      echo 
"<pre>";
      
var_dump($array);
      
?>