[jdom-interest] Recursively Modifying the JDOM before output.

Jason Hunter jhunter at collab.net
Fri Jun 1 14:21:12 PDT 2001


Gary Montgomery wrote:
> 
> Regardless, the javadocs should mention that setting text on a 
> node of mixed content will cause the children to be lost.

It's in the Javadocs:

 * All existing text content and non-text context is removed.

Maybe it should have been bold.  Anyway, seems like setText() adding
before or after child elts feels good to people.  So which: before or
after?  :-)

-jh-



More information about the jdom-interest mailing list