Follow-up r99909. If there is a preprocessToXml method, use that.