Hello .
I have just started to use DOM parser. I develop PHP scripts on Windows machine. So , PHP file is :
<?php
$fd = fopen("mylib.xml","r");
$myXML = fread($fd,filesize("mylib.xml"));
fclose($fd);
echo($myXML);
$docTree = xmltree($myXML);
print("<pre>");
print_r($docTree );
print( "</pre>" );
?>
What is wrong with this? This is showing a fatal error---
Fatal error: Call to undefined function: xmltree()