ң

domxml_open_file

(PHP 4 >= 4.2.1)

domxml_open_file - DOM- XML-.

object domxml_open_file (string filename)

XML filename "Dom document", , . - read-only.

1. xml-
<?php if(!$dom = domxml_open_file("example.xml")) { echo "Error while parsing the document\n"; exit; } $root = $dom->document_element(); ?>

. domxml_open_mem() , domxml_new_doc() .


ң
domxml_new_doc domxml_open_mem