DOM Framework 2.0 reviewDownload
DOM Framework is a Cocoa framework for manipulating XML-data in applications, similar to JDOM and XOM for Java.
DOM Framework is a Cocoa framework for manipulating XML-data in applications, similar to JDOM and XOM for Java. Also contains an XML parser, a formatter for pretty-printing XML and XPath-support.
Huge API-changes. I have rethought some parts of the framework, and changed added, removed and changed names of methods everywhere. Sorry, but it had to be done. You'll get a ton of build errors if you try to recompile with the new version.
The core of the framework now consist of a set of protocols that define the DOM API, and a corresponding set of classes that implement that API.
Rewrote the XPath engine, now compiles expressions. Handles most things, but still a bit short on predicates (although only quite complex predicates, or predicates with functions and calculations in them fail).
New namespace handling, which works.
New parser/builder architecture.
New builder built on top of the widely used XML-parser Expat, as well as a simple plug-in architecture for builders. It works much better than the old CoreFoundation builder.
Support for alternative implementations of the core node classes, and mixing of implementations.
The outputter can render elements inlined (no newline before or after).
Added a document fragment class.
Added some classes for encapsulation traversals of the DOM tree.
Rewrote the formatter with the new traversal classes.
New postprocessor API (for handling things like XInclude).
DOM Framework 2.0 search tags