parameters: (self, doc)
return_statement: return node
docstring: Creates an element for the tool.
  
      Args:
        doc: xml.dom.Document object to use for node creation.
  
      Returns:
        A new xml.dom.Element for the tool.
docstring_summary: Creates an element for the tool.
docstring_tokens: Creates an element for the tool .
function: def CreateElement(self, doc):
      """Creates an element for the tool.
  
      Args:
        doc: xml.dom.Document object to use for node creation.
  
      Returns:
        A new xml.dom.Element for the tool.
      """
      node = doc.createElement('Tool')
      node.setAttribute('Name', self.name)
      for k, v in self.attrs.items():
        node.setAttribute(k, v)
      return node
function_tokens: def CreateElement ( self , doc ) : node = doc . createElement ( 'Tool' ) node . setAttribute ( 'Name' , self . name ) for k , v in self . attrs . items ( ) : node . setAttribute ( k , v ) return node