[jdom-interest] Recursively Modifying the JDOM before output.
jhunter at collab.net
Fri Jun 1 13:40:55 PDT 2001
Gary Montgomery wrote:
> So we save <kid/> off to the side with getChildren().
> setText("foo") changes the tree to:
> then after addChildren():
That's one workaround. I'd like to have something better.
We could also just put the text before or after the other content? That
might be less ugly. Perhaps we could be fancy (too fancy?) and set it
at the first non-whitespace text node. As a newbie, what would you
More information about the jdom-interest