From: "Eric Jain" <[EMAIL PROTECTED]> > Perhaps the proper solution would be to write the tree of each element to a > SAX content handler. Does anyone know where to find a pretty-printing SAX > handler? Seems like a rather basic thing, but I couldn't find anything...
BTW dom4j's XMLWriter is also a pretty printing SAX writer! So you can mix and match, outputting dom4j Nodes or SAX events to the same XMLWriter instance. http://dom4j.org/javadoc/org/dom4j/io/XMLWriter.html If you need to change the pretty-printing stuff you can explicitly get/set the indentLevel property. James __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.comm ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ dom4j-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dom4j-user