PHP Classes

File: example_xml2array.php

Recommend this page to a friend!
  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: 16 years ago
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);
     
?>