parameters: (self)
return_statement: return self.filedata
docstring: Generate odt manifest.xml data
docstring_summary: Generate odt manifest.xml data
docstring_tokens: Generate odt manifest . xml data
function: def _odt_manifest(self):
  		"Generate odt manifest.xml data"
  
  		self.data = ['tag', 'manifest:manifest',
  		  ['element', 'xmlns:manifest', 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0'],
  		  ['tagline', 'manifest:file-entry',
  		    ['element', 'manifest:media-type', 'application/vnd.oasis.opendocument.text'],
  		    ['element', 'manifest:full-path', '/']],
  		  ['tagline', 'manifest:file-entry',
  		    ['element', 'manifest:media-type', 'text/xml'],
  		    ['element', 'manifest:full-path', 'content.xml']],
  		  ['tagline', 'manifest:file-entry',
  		    ['element', 'manifest:media-type', 'text/xml'],
  		    ['element', 'manifest:full-path', 'styles.xml']],
  		  ['tagline', 'manifest:file-entry',
  		    ['element', 'manifest:media-type', 'text/xml'],
  		    ['element', 'manifest:full-path', 'meta.xml']],
  		  ['tagline', 'manifest:file-entry',
  		    ['element', 'manifest:media-type', 'text/xml'],
  		    ['element', 'manifest:full-path', 'settings.xml']]]
  
  		# Generate content.xml XML data
  		xml = XML()
  		self.lines = xml.convert(self.data)
  		self.lines.insert(1, '<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">')
  		self.filedata = '\n'.join(self.lines)
  		# Return generated data
  		return self.filedata
function_tokens: def _odt_manifest ( self ) : self . data = [ 'tag' , 'manifest:manifest' , [ 'element' , 'xmlns:manifest' , 'urn:oasis:names:tc:opendocument:xmlns:manifest:1.0' ] , [ 'tagline' , 'manifest:file-entry' , [ 'element' , 'manifest:media-type' , 'application/vnd.oasis.opendocument.text' ] , [ 'element' , 'manifest:full-path' , '/' ] ] , [ 'tagline' , 'manifest:file-entry' , [ 'element' , 'manifest:media-type' , 'text/xml' ] , [ 'element' , 'manifest:full-path' , 'content.xml' ] ] , [ 'tagline' , 'manifest:file-entry' , [ 'element' , 'manifest:media-type' , 'text/xml' ] , [ 'element' , 'manifest:full-path' , 'styles.xml' ] ] , [ 'tagline' , 'manifest:file-entry' , [ 'element' , 'manifest:media-type' , 'text/xml' ] , [ 'element' , 'manifest:full-path' , 'meta.xml' ] ] , [ 'tagline' , 'manifest:file-entry' , [ 'element' , 'manifest:media-type' , 'text/xml' ] , [ 'element' , 'manifest:full-path' , 'settings.xml' ] ] ] # Generate content.xml XML data xml = XML ( ) self . lines = xml . convert ( self . data ) self . lines . insert ( 1 , '<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd">' ) self . filedata = '\n' . join ( self . lines ) # Return generated data return self . filedata