Updated to_xml() to accept schemaloc_dict parameter which allows users to pass in third-party schemalocations