Lines Matching refs:XML
19 :mod:`xml.etree.ElementTree` module for their XML processing instead.
29 DOM applications typically start by parsing some XML into a DOM. With
34 dom1 = parse('c:\\temp\\mydata.xml') # parse an XML file by name
52 If you have XML in a string, you can use the :func:`parseString` function
64 What the :func:`parse` and :func:`parseString` functions do is connect an XML
86 Once you have a DOM document object, you can access the parts of your XML
89 :attr:`documentElement` property. It gives you the main element in the XML
137 Write XML to the writer object. The writer should have a :meth:`write` method
144 be used to specify the encoding field of the XML header.
149 Return a string or byte string containing the XML represented by
155 XML declaration in the resulting string does not specify an
157 likely incorrect, since UTF-8 is the default encoding of XML.
246 Most of these reflect information in the XML document that is not of general
251 .. [1] The encoding name included in the XML output should conform to
253 "UTF8" is not valid in an XML document's declaration, even though