[
Lists Home |
Date Index |
Thread Index
]
Title: RE: [xml-dev] embedded html
Bart-
It's really a JDOM question, not an xml question. (you might want to subscribe to the jdom mailing list).
Here's how to fix it:
instead of:
testEl.addContent(rootEl);
make it:
testEl.addContent((Element)rootEl.clone());
Hope that helps.
-pgm
|