simplexml_import_domGet a SimpleXMLElement object from a DOM node. Description
SimpleXMLElement simplexml_import_dom
( DOMNode
$node
[, string $class_name = "SimpleXMLElement"
] )This function takes a node of a DOM document and makes it into a SimpleXML node. This new object can then be used as a native SimpleXML element. Parameters
Return Values
Returns a SimpleXMLElement or Warning
This function may
return Boolean Examples
Example #1 Importing DOM
<?php The above example will output: blah |