Im trying to write a script to parse an XML document using the DOM method. I have written the code, and it all seem right in my head (and complies with details from the php manual). However, I keep getting the following error when i try to run the script.
Fatal error: Call to undefined function: xmldocfile() in C:\phphome***\XmlFiles\buglist.php on line 117
This is raised from the following:
$doc = xmldocfile( 'c:\phphome\rob\xmlfiles\bug_list.xml' );
Can some one please tell me (before i go insane) if xmldocfile() is a valid php function? Its in the manual, and referenced by many web sites.
NB.
Im using PHP 4.2.1 i am aware that the name of this function is changing in 4.3.0, and have tried the new name also, but that doesn't work either.
Thanks