|Ratings||Unique User Downloads||Download Rankings|
|57%||Total: 10,427 This week: 1||All time: 123 This week: 325|
|xml2array 1.0.0||GNU General Publi...||XML, PHP 5, Data types|
This is a simple class can parse a XML document file and build an associative array from its elements.
/* * 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.
|Version Control||Reuses||Unique User Downloads||Download Rankings|
|User Ratings||User Comments (1)|