Have a look at org.dom4j.io.XMLModifier, this is I think perfect for what you want.
You probably don't even have to implement the XMLReader as suggested, it's just that I think using this would be a very elegant solution. Regards, Edwin -- http://www.edankert.com/ ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user