The .createPrettyPrint() method of OutputFormat is quite nice, but in terms of readability within a standard text editor, it can be a bit of a pain.
Anytime you have a great deal of text between an element and it's end element, it is displayed as a single line. I use JTidy to clean up some of my documents and I've noticed that it has a nice automatic line wrap feature to fit text within 80 spaces. I wonder if this feature can be added to the OutputFormat class by borrowing the code from Jtidy? Rob _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user
