def render(self, standoffheader):

        documentheader = self.render_documentheader(standoffheader)

        doc = minidom.parseString(tostring(documentheader, encoding="utf-8"))

        output = open(self.outputfile, "wb")
        output.write(doc.toprettyxml(encoding='utf-8'))
        output.close()
Write primary data document header.
dataset/ETHPy150Open cidles/graf-python/src/graf/io.py/StandoffHeaderRenderer.render