Lines Matching refs:root
707 root = xml.dom.minidom.Document()
709 advisory_header = root.createComment(f" {ADVISORY} ")
710 root.appendChild(advisory_header)
711 copyright_header = root.createComment(copyright_header_text(self.copyright_year))
712 root.appendChild(copyright_header)
714 configuration = root.createElement("configuration")
715 root.appendChild(configuration)
723 include = root.createElement("include")
728 option = root.createElement("option")
733 xml_str = root.toprettyxml(indent = XML_INDENT, encoding = "utf-8")
742 root = xml.dom.minidom.Document()
744 advisory_header = root.createComment(f" {ADVISORY} ")
745 root.appendChild(advisory_header)
746 copyright_header = root.createComment(copyright_header_text(self.copyright_year))
747 root.appendChild(copyright_header)
749 configuration = root.createElement("configuration")
750 root.appendChild(configuration)
760 option = root.createElement("option")
768 xml_comment = root.createComment(f" {c} ")
777 option = root.createElement("option")
786 xml_comment = root.createComment(f" {c} ")
791 xml_str = root.toprettyxml(indent = XML_INDENT, encoding = "utf-8")
800 root = xml.dom.minidom.Document()
802 advisory_header = root.createComment(f" {ADVISORY} ")
803 root.appendChild(advisory_header)
804 copyright_header = root.createComment(copyright_header_text(2020))
805 root.appendChild(copyright_header)
807 configuration = root.createElement("configuration")
808 root.appendChild(configuration)
813 include = root.createElement("include")
817 xml_str = root.toprettyxml(indent = XML_INDENT, encoding = "utf-8")