XMLProcessingInstruction instruction = xmlDocument.createProcessingInstruction('xml', 'version="1.0" encoding="iso-8859-1"');