You could maybe extend the XMLWriter to stop escaping characters found in attribute values:
public class MyWriter extends XMLWriter { protected String escapeAttributeEntities( String text) { return text; } } Enhancement: Turn escaping off or on in the XMLWriter? Regards, Edwin ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ dom4j-user mailing list dom4j-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-user