docs: def create_el(name, text=None, attrib=None):
      """Create element with given attributes and set element.text property to given
      text value (if text is not None)
  
      :param name: element name
      :type name: str
      :param text: text node value
      :type text: str
      :param attrib: attributes
      :type attrib: dict
      :returns: xml element
      :rtype: Element
      """
      if attrib is None:
          attrib = {}
  
      el = ET.Element(name, attrib)
      if text is not None:
          el.text = text
      return el