def export_to_document(self, document, mainelement):
     collelement = document.createElement('Collection')
     document.appendChild(collelement)
     comment = document.createComment(
         'Griffith Export in DVD Profiler Collection Export Format V2')
     document.insertBefore(comment, collelement)
     XmlExportBase.export_to_document(self, document, collelement)
 def export_to_document(self, document, mainelement):
     collelement = document.createElement('collection')
     collelement.setAttribute('type', 'GCfilms')
     document.appendChild(collelement)
     comment = document.createComment('Griffith Export in GCstar database format')
     document.insertBefore(comment, collelement)
     XmlExportBase.export_to_document(self, document, collelement)
     collelement.setAttribute('items', str(self.exported_movies))
Exemplo n.º 3
0
 def export_to_document(self, document, mainelement):
     collelement = document.createElement('collection')
     collelement.setAttribute('type', 'GCfilms')
     document.appendChild(collelement)
     comment = document.createComment(
         'Griffith Export in GCstar database format')
     document.insertBefore(comment, collelement)
     XmlExportBase.export_to_document(self, document, collelement)
     collelement.setAttribute('items', str(self.exported_movies))
Exemplo n.º 4
0
 def export_to_document(self, document, mainelement):
     collelement = document.createElement('AntMovieCatalog')
     collelement.setAttribute('Format', '35')
     collelement.setAttribute('Version', '3.5.1 (2007-09-22)')
     collelement.setAttribute('Date', datetime.datetime.now().strftime('%d.%m.%Y %H:%M:%S'))
     document.appendChild(collelement)
     comment = document.createComment('Griffith Export in Ant Movie Catalog database format')
     document.insertBefore(comment, collelement)
     catalogelement = document.createElement('Catalog')
     collelement.appendChild(catalogelement)
     propertieselement = document.createElement('Properties')
     catalogelement.appendChild(propertieselement)
     contentselement = document.createElement('Contents')
     catalogelement.appendChild(contentselement)
     XmlExportBase.export_to_document(self, document, contentselement)
 def export_to_document(self, document, mainelement):
     collelement = document.createElement("AntMovieCatalog")
     collelement.setAttribute("Format", "35")
     collelement.setAttribute("Version", "3.5.1 (2007-09-22)")
     collelement.setAttribute("Date", datetime.datetime.now().strftime("%d.%m.%Y %H:%M:%S"))
     document.appendChild(collelement)
     comment = document.createComment("Griffith Export in Ant Movie Catalog database format")
     document.insertBefore(comment, collelement)
     catalogelement = document.createElement("Catalog")
     collelement.appendChild(catalogelement)
     propertieselement = document.createElement("Properties")
     catalogelement.appendChild(propertieselement)
     contentselement = document.createElement("Contents")
     catalogelement.appendChild(contentselement)
     XmlExportBase.export_to_document(self, document, contentselement)
 def export_to_document(self, document, mainelement):
     collelement = document.createElement('Collection')
     document.appendChild(collelement)
     comment = document.createComment('Griffith Export in DVD Profiler Collection Export Format V2')
     document.insertBefore(comment, collelement)
     XmlExportBase.export_to_document(self, document, collelement)