This post originated from an RSS feed registered with Java Buzz
by Joe Shelby.
Original Post: What I want from a tree-based XML API
Feed Title: Joe's Java Jottings
Feed URL: http://www.blog-city.com/bc/
Feed Description: Notes, observations, and occasional other stuff on Java, with concentrations on Swing, XML, and the Semantic (Object) Web.
Automagical namespaces.
JDom, EXML, and now XOM, are each reasonable improvements over their predecessors, but none do what I want them to do.
When I add an element, I want to give it the namespace by URI as a string, since that's what's "official" (prefixes technically are a convenience), and then I want to have at the Document level a Map of namespaces to prefixes, and then when I do a print of the document, have it automatically set prefixes