parameters: (version)
return_statement: return xmlDoc(_obj=ret)
docstring: Creates a new XML document
docstring_summary: Creates a new XML document
docstring_tokens: Creates a new XML document
function: def newDoc(version):
      """Creates a new XML document """
      ret = libxml2mod.xmlNewDoc(version)
      if ret is None:raise treeError('xmlNewDoc() failed')
      return xmlDoc(_obj=ret)
function_tokens: def newDoc ( version ) : ret = libxml2mod . xmlNewDoc ( version ) if ret is None : raise treeError ( 'xmlNewDoc() failed' ) return xmlDoc ( _obj = ret )