|
PHP5中文手册
dom_import_simplexml(PHP 5) dom_import_simplexml — Gets a DOMElement object from a SimpleXMLElement object 说明
DOMElement dom_import_simplexml
( SimpleXMLElement $node
)
This function takes the node node of class SimpleXML and makes it into a DOMElement node. This new object can then be used as a native DOMElement node. 参数
返回值The DOMElement node added or FALSE if any errors occur. 范例Example#1 Import SimpleXML into DOM with dom_import_simplexml()
<?php |