Make XML parser output user-configurable.