[phpXML] beginners question
Brought to you by:
bs_php,
nigelswinson
From: <pie...@si...> - 2001-10-08 15:36:13
|
I tried to use the phpxml package (latest version on http://www.phpxml.org/) but i encountered errors when running the included example files. Even a very simple test i made generated an error : <? require getenv('DOCUMENT_ROOT') . '/../common/xml.php'; $doc = new XML('base.xml'); echo $doc->get_file(); ?> The base.xml document contains only this : <?xml version="1.0" encoding="iso-8859-1"?> <test> </test> I expected this to just display this simple XML document, but instead it generated errors : <br> <b>Warning</b>: Undefined index: /test in <b>/www/wine/common/xml.php</b> on line <b>443</b><br> <br> <b>Warning</b>: Undefined index: in <b>/www/wine/common/xml.php</b> on line <b>456</b><br> <br> <b>Warning</b>: Undefined index: in <b>/www/wine/common/xml.php</b> on line <b>464</b><br> <test/> All examples in the package (governement, xpath) generated simular problems. What am i doing wrong ?.. Pieter Bosteels i-Merge -- This message has been sent through the <phpXML/> user discussion list. To unsubscribe, please visit https://sslsites.de/mailinglisten/user/us...@li.../ |