PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Victor Anaya   xml2Object   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: xml2Object
Parse an XML file and load its data in the object
Author: By
Last change: correction of class name
Date: 19 years ago
Size: 154 bytes
 

Contents

Class file image Download
<?
include("./xml2object.php");
$xml_parser = new XML2OBJECT();
$content = join(file("./example.xml"), "");
print_r($xml_parser->parse($content));
?>