Dom\import_simplexmlGets a Dom\Attr or Dom\Element object from a SimpleXMLElement object Description
Dom\AttrDom\Element Dom\import_simplexml(object
$node )
This function takes the given attribute or element Parameters
Return ValuesThe Dom\Attr or Dom\Element. ExamplesExample #1 Import SimpleXML into DOM and modify SimpleXML through DOM Error handling omitted for brevity.
The above example will output: <?xml version="1.0"?> <books foo="bar"><book><title>blah</title></book></books> See Also
|