Hi,
I'd like to follow up for the benefit of the list on this comment by Christian:
> As mentioned, our DOM interfaces haven't been tested very much, but
> your focus on DOM and XQJ might inspire other users to play around
> with this interface as well, and give us more feedback.
Could people share their approaches to working with XML in Java?
My (apparently outdated) knowledge is that only two approaches are in
wide use: those that use an in-memory representation of an XML
document (or fragment) - e.g., either XOM, org.w3c.'s DOM, JDOM, etc.
or approaches that use a stream-based approach (SAX). Naively, I would
have expected that XML databases such as BaseX would provide excellent
support for at least one of the widely used DOM interfaces. (In fact,
Christian made an earlier comment that BaseX uses an "optimized"
(albeit incomplete) implementation of org.w3c.'s DOM classes.)
Are there other existing approaches besides DOM that would allow me to
retrieve and update XML documents, and represent portions of them in
memory?
- Godmar