Hi Cedric The problem comme from the way you create the root element (i.e. objElement) Your method seems to provide a document (in this case a org.dom4j.tree.DefaultDocument) as owner of the objElement element. This occures probably in your toXML(..) method.
Is there a way for you to create your element without providing the container Document? Thierry ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user