Expose collectXmlData method