Описание
SimpleXMLElement
simplexml_import_dom ( DOMNode node [, string class_name] )
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. If any errors occur,
it returns FALSE.
See also
dom_import_simplexml().