parameters: (self, msg, label="")
docstring: add a warning to the execute xml
docstring_summary: add a warning to the execute xml
docstring_tokens: add a warning to the execute xml
function: def add_warning(self, msg, label=""):
          '''add a warning to the execute xml'''
          print(msg)
          root = self.execute_xml.get_root_node()
  
          warning_node = self.execute_xml.create_element("warning")
          Xml.set_attribute(warning_node, "label", label)
          Xml.set_attribute(warning_node, "msg", msg)
          Xml.append_child(root, warning_node)
function_tokens: def add_warning ( self , msg , label = "" ) : print ( msg ) root = self . execute_xml . get_root_node ( ) warning_node = self . execute_xml . create_element ( "warning" ) Xml . set_attribute ( warning_node , "label" , label ) Xml . set_attribute ( warning_node , "msg" , msg ) Xml . append_child ( root , warning_node )