'Generates the manifest.xml file
The self.manifest isn\'t avaible unless the document is being saved'

def __manifestxml(self):

    xml = StringIO()
    xml.write(_XMLPROLOGUE)
    self.manifest.toXml(0, xml)
    return xml.getvalue()
