[jdom-interest] JDOM JSR
arosen at silverstream.com
Fri May 18 08:31:15 PDT 2001
> The particular implementations that drive this need have typically
> needed to modify both structure and content of the document being
> processed, in multiple ways. The mechanism is often methods with a
> relatively simple signature (using DOM): Document doSomething(Document, Node)
Can you provide some examples of this? I've never been able to think of a
real-world case where you'd want to treat all XML objects (elements,
attributes, text, PIs, etc) the same. That's not to say that there aren't any!
But it's just harder to be empathetic about a case that you can't really
imagine happening. It'd be really helpful to see some real-world examples of
where you'd have a method that wants to be able to receive all these objects
and treat them at least mostly equally.
More information about the jdom-interest