> Why is XMLOutputter creating a new line before the </context-param> tag? Sounds like a known bug when pretty printing, something Alex Chaffee is/was fixing. You can avoid it if you just output raw, no added indents or new lines and no normalization. -jh-