Is there any standard-ish library or gem I could use with JRuby for pretty-printing XML documents (newlines, indentation etc.) ?
Whitespace is significant on some elements and irrelevant on most, but I need some way to control this; and I need to process gigabytes of XML this way, so it would be nice if it was fast.