Centralize initialization: use factory.
Merge branch 'master' of github.com:denarced/indentxml