Posted by mich dobelman on 08/17/06 08:18
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_file ('data.xml');
$e_data = $dom->document_element();
<?xml version="1.0"?>
<book>
<title>hhelo</title>
</book>
Navigation:
[Reply to this message]
|