pass data to XML parser