parameters: (self, data)
return_statement: return outlines
docstring: Convert nested lists into XML
  
  		The convert method takes a nested lists and converts them
  		into XML to be used in Open Document Format documents.
  		There are three types of lists that are recognized at this
  		time.  They are as follows:
  
  		'tag' - Tag opens a set of data that is eventually closed
  		with a similar tag.
  		List: ['tag', 'xml']
  		XML: <xml></xml>
  
  		'tagline' - Taglines are similar to tags, except they open
  		and close themselves.
  		List: ['tagline', 'xml']
  		XML: <xml/>
  
  		'element' - Elements are pieces of information stored in an
  		opening tag or tagline.
  		List: ['element', 'color', 'blue']
  		XML: color="blue"
  
  		'data' - Data is plain text directly inserted into the XML
  		document.
  		List: ['data', 'hello']
  		XML: hello
  
  		Bring them all together for something like this.
  
  		Lists:
  		['tag', 'xml', ['element', 'a', 'b'], ['tagline', 'xml2'], 
  		['data', 'asdf']]
  
  		XML:
  		<xml a="b"><xml2/>asdf</xml>
docstring_summary: Convert nested lists into XML
docstring_tokens: Convert nested lists into XML
function: def convert(self, data):
  		"""Convert nested lists into XML
  
  		The convert method takes a nested lists and converts them
  		into XML to be used in Open Document Format documents.
  		There are three types of lists that are recognized at this
  		time.  They are as follows:
  
  		'tag' - Tag opens a set of data that is eventually closed
  		with a similar tag.
  		List: ['tag', 'xml']
  		XML: <xml></xml>
  
  		'tagline' - Taglines are similar to tags, except they open
  		and close themselves.
  		List: ['tagline', 'xml']
  		XML: <xml/>
  
  		'element' - Elements are pieces of information stored in an
  		opening tag or tagline.
  		List: ['element', 'color', 'blue']
  		XML: color="blue"
  
  		'data' - Data is plain text directly inserted into the XML
  		document.
  		List: ['data', 'hello']
  		XML: hello
  
  		Bring them all together for something like this.
  
  		Lists:
  		['tag', 'xml', ['element', 'a', 'b'], ['tagline', 'xml2'], 
  		['data', 'asdf']]
  
  		XML:
  		<xml a="b"><xml2/>asdf</xml>
  		"""
  		outlines = []
  		outlines.append('<?xml version="1.0" encoding="UTF-8"?>')
  		if (type(data) == type([]) and len(data) > 0):
  			if data[0] == 'tag': outlines.append(self._xmltag(data))
  		return outlines
function_tokens: def convert ( self , data ) : outlines = [ ] outlines . append ( '<?xml version="1.0" encoding="UTF-8"?>' ) if ( type ( data ) == type ( [ ] ) and len ( data ) > 0 ) : if data [ 0 ] == 'tag' : outlines . append ( self . _xmltag ( data ) ) return outlines