Expose XML parser properties, close #1185