I try DOM like the code here:
<?php
if(!$dom = domxml_open_file("test.xml")) {
echo "Error while parsing the document\n";
exit;
}
$root = $dom->document_element();
$elements = $dom->get_elements_by_tagname("Text");
//echo count($elements);
echo $elements[0]->tagname;
echo $elements[0];
//echo "ok";
?>
It works,but the problem is how to display the element value and chang it.
Please give me the function name and how to use it if you know.Thanks.