Currently my web server supports only php4.
I want to know how to parse the xml and get the
element value using dom. I thought they have similar
function for getting element by id or tag name, so
far i haven't find anyting like that except fro PHP5 with
Domdocument. Any help is appreciated.
$dom = domxml_open_fil e ('data.xml');
$e_data = $dom->document_eleme nt();
<?xml version="1.0"?>
<book>
<title>hhelo</title>
</book>
I want to know how to parse the xml and get the
element value using dom. I thought they have similar
function for getting element by id or tag name, so
far i haven't find anyting like that except fro PHP5 with
Domdocument. Any help is appreciated.
$dom = domxml_open_fil e ('data.xml');
$e_data = $dom->document_eleme nt();
<?xml version="1.0"?>
<book>
<title>hhelo</title>
</book>
Comment