OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] embedded html

[ 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





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS