Indent output XML and strip whitespace in input XML. Fixes #7.