[Home] [By Thread] [By Date] [Recent Entries]


Title: RE: 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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member