SimpleXML: Mixing With DOM InteroperabilityTag: SimpleXML, SimpleXMLElement, XML, DOM Category: PHP Basicpost: 17 Apr 2008 read: 833 PHP SimpleXML Step By Step Tutorial - Part 7: When we work with unknown elements, we can use DOM interoperability. First, we import nodes into the DOM extension. Next, access them using DOM properties and methods. See this sample:
You may get like this:
After importing nodes to the DOM extension, we can perform anything that supported by DOM like add new element, edit, or remove element.
| ||
| | Give Your Opinion | Recommend |
|

