Hello,
Just had DOM working on my machine and I am trying some simplistic samples extracted from web. But I couldn't make any of them working yet. Just check out
<?
//string includes a well-formed xml
$doc=xmldoc($string);
$root=$doc->root();
echo $root->name;
// causes an error
?>
I see an error message on the screen as 'Undefined property'! What is wrong with it ?
I tried expat functions, and they worked well.
By the way, php 4.2.x is installed on windows.
Your help is really appreciated.
Thanks.
Mustafa