PHP Classes
Icontem

File: readmeFirst.txt


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Michal Palma  >  XML 2 Array  >  readmeFirst.txt  
File: readmeFirst.txt
Role: Documentation
Content type: text/plain
Description: description
Class: XML 2 Array
Parse an XML document into an array XPATH indexed
 

Contents

Class file image Download
/*
* Class to read XML file
* Class use SimpleXml - default PHP lib
* @package Xml2Array
* @date 2005-07-29
*/

This is very primitive class to read XML files.
It does not know to write XML data.
In construction of object You must specify complete filename with address.
Then You will use function __get() and in the parameter You will write XPATH of XML element from which You want content.
Throws standard PHP5 Exceptions with codes: -1 for error of opening file, 1 for error of reading XPATH from file
Thats all.

Some cases of use are defined in ___case_of_use.php.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products