/*
* 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.
|