File: example.php

Recommend this page to a friend!
  Classes of Marcos Pont  >  SimpleXmlParser  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: The example script
Class: SimpleXmlParser
Class to parse XML files
Author: By
Last change:
Date: 18 years ago
Size: 339 bytes



Class file image Download

// require the class

// parse the xml file to a data structure
$PARSER = new SimpleXmlParser('example.xml');

// get the root node of the XML tree
$ROOT = $PARSER->getRoot();

// here you can see the structure built by the class
echo '<pre>';


For more information send a message to info at phpclasses dot org.