domxml_version
domxml_xslt_stylesheet_doc
DOM XML (PHP 4) 함수 목록
PHP Manual

# domxml_xmltree

(PHP 4 >= 4.2.0)

domxml_xmltree — Creates a tree of PHP objects from an XML document

### 설명

DomDocument domxml_xmltree ( string `$str` )

The function parses the XML document in `str` and returns a tree PHP objects as the parsed document.

This function is isolated from the other functions, which means you cannot access the tree with any of the other functions. Modifying it, for example by adding nodes, makes no sense since there is currently no way to dump it as an XML file.

However this function may be valuable if you want to read a file and investigate the content.

### 인수

`str`

  The contents of the XML file.

### 반환값

Returns a tree of Dom objects starting by a DomDocument.

domxml_version
domxml_xslt_stylesheet_doc
DOM XML (PHP 4) 함수 목록
PHP Manual