def create_inhaltsverzeichnis(self): inhaltsverzeichnis = arelda.inhaltsverzeichnisSIP() header = arelda.ordnerSIP(u'header', u'header') header.ordner.append(self.xsd) inhaltsverzeichnis.ordner.append(header) inhaltsverzeichnis.append(self.content_folder.binding()) return inhaltsverzeichnis
def binding(self): ordner = arelda.ordnerSIP(self.name) for folder in self.folders: ordner.ordner.append(folder.binding()) for file_ in self.files: ordner.datei.append(file_.binding()) return ordner
def create_xsd(self): return arelda.ordnerSIP(u'xsd', u'xsd')