DOMIT! version 0.2 has been released. This adds a several new utility methods and a minor bug fixes.
New features:
- a getElementsByPath method, which allows access to element nodes using "path"-like expressions
- a loadXML method, which loads an XML file from the specified path
- a saveXML method, which saves a DOM document to the specified XML file
- a parsedBy method, which informs you whether parsing occurred in conjunction with either the Expat or SAXY parser.
Bug Fixes:
- when Expat is used to parse a DOM document, parseXML now preformats the XML string by removing whitespace. This fixes a problem wherein some versions of Expat and PHP ignore the setting of XML_OPTION_SKIP_WHITE
Please visit the DOMIT! homepage at http://www.engageinteractive.com/domit/ for more information.