def processingInstruction(self, target, data):
        # NOTE this seems to never be called by the parser.
        mo = XML_HEADER_RE.match(data)
        if mo:
            version, encoding = mo.groups()
            assert version == "1.0"
            self.encoding = encoding
            if self.doc:
                self.doc.set_encoding(encoding)
        else:
            self._errormethod("!!! Unhandled pi: %r" % (data,))
Write out out the temporary command file from a thread to
dataset/ETHPy150Open kdart/pycopia/XML/pycopia/XML/POMparse.py/ContentHandler.processingInstruction--crossover with--dataset/ETHPy150Open marineam/nagcat/python/nagcat/nagios_api.py/NagiosCommander._threaded_command