Amba XML document 3.2
The package contains two classes for an easy creation, navigation and processing of XML documents. The DOM Document extension class can return the document root element, add a new node to the end of the document, select nodes that match a XPath expression, call a function for a list of elements and transform a document using XSL.
The DOM element extension class can get XML for the owner document, get the node XPath, get child nodes, select child nodes that match a XPath expression, get the parent and sibling nodes, get and set attributes by name, copy attributes, add child nodes and character data, import and export nodes to and from another document, set and get the inner XML of a node, call a function for nodes that map a XPath expression, etc..
Standard DOMDocument has rich functionality, but it is not handy enough. XMLDocument is extension of standard PHP DOMDocument and DOMElement.
Here are some key features of Amba XML document:
- Inner XML getting/setting - easy and in one line.
- Chain style to create new node sets.
- Functions for frequently used actions: copy attributes, delete all childs etc.
- SelectSingleNode and SelectNodes - node related functions works like same functions in C#.
More popular XML
- Amba XML document 3.2 (1 year, 5 months 19 days ago)
- simple XML 1.0 (1 year, 1 month 21 days ago)
- admin_XML.lib 1.0 (6 years, 4 months 5 days ago)
- Handle remote data with PHP 5 and REST Web service fp_websrest_sm_02 (2 years, 7 months 23 days ago)
- DTD 2 PHP 1.0 (6 years, 4 months 7 days ago)
Listing Files

XMLDocumentTest.php- 14.2 KB
- 08/05/2010 04:13:05

XMLDocument.php- 4.0 KB
- 08/05/2010 04:13:05

XMLElement.php- 14.6 KB
- 08/05/2010 04:13:05
