From: Clifford Heath Date: 2002-06-20T16:27:44+09:00 Subject: Re: REXML in C slumos@unlv.edu wrote: > "The extant XML APIs, in general, suck. I decided that also, when we built our C++ infrastructure for XML, and designed our interface (XmlBind) instead. You parse the file against a document type handler, which gets to build whatever object you want for an element, as long as it supports the XmlNodeI interface, or XmlDocumentI for the document as a whole. You can decide to create no object for an element, and the subtree vanishes. You can play various other games, but basically it's a customisable DOM API with good support for either loading objects or scanning elements, with any mix equally well supported. Heaps more useful than either SAX or DOM. Just thought that might inspire someone to do the same for Ruby... I'm not entirely happy with the lack of special support for namespaces, but they could be addressed in the same sort of way. -- Clifford Heath