Lines Matching refs:dom
25 import xml.dom.minidom
48 def merge_topic(self, list, sdfdata, lang, inputfilename, dom): argument
76 return xml.dom.minidom.parseString(document)
85 dom = parsed_file_ref.cloneNode(True)
88 self.merge_topic(dom.getElementsByTagName("topic"), sdfdata, lang, inputfilename, dom)
89 self.merge_title(dom.getElementsByTagName("node"), sdfdata, lang, inputfilename)
90 self.merge_title(dom.getElementsByTagName("help_section"), sdfdata, lang, inputfilename)
94 str = dom.toxml()
112 return xml.dom.minidom.parseString(document)
117 dom = self.parse_file(inputfile)
118 sdf_data.extend(self.extract_topic(dom.getElementsByTagName("topic"), inputfile))
119 sdf_data.extend(self.extract_title(dom.getElementsByTagName("help_section"), inputfile))
120 sdf_data.extend(self.extract_title(dom.getElementsByTagName("node"), inputfile))