Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables File Reference

Go to the source code of this file.


class  xml.etree.ElementTree._SimpleElementPath
class  xml.etree.ElementTree.ParseError
 Parser error. More...
class  xml.etree.ElementTree.Element
 Element class. More...
class  xml.etree.ElementTree.QName
 QName wrapper. More...
class  xml.etree.ElementTree.ElementTree
 ElementTree wrapper class. More...
class  xml.etree.ElementTree._IterParseIterator
class  xml.etree.ElementTree.TreeBuilder
 Generic element structure builder. More...
class  xml.etree.ElementTree.XMLParser
 Element structure builder for XML source data, based on the expat parser. More...


namespace  xml.etree.ElementTree


def xml.etree.ElementTree.iselement
 Checks if an object appears to be a valid element object.
def xml.etree.ElementTree.SubElement
 Subelement factory.
def xml.etree.ElementTree.Comment
 Comment element factory.
def xml.etree.ElementTree.ProcessingInstruction
 PI element factory.
def xml.etree.ElementTree._namespaces
def xml.etree.ElementTree._serialize_xml
def xml.etree.ElementTree._serialize_html
def xml.etree.ElementTree._serialize_text
def xml.etree.ElementTree.register_namespace
 Registers a namespace prefix.
def xml.etree.ElementTree._raise_serialization_error
def xml.etree.ElementTree._escape_cdata
def xml.etree.ElementTree._escape_attrib
def xml.etree.ElementTree._escape_attrib_html
def xml.etree.ElementTree.tostring
 Generates a string representation of an XML element, including all subelements.
def xml.etree.ElementTree.tostringlist
 Generates a string representation of an XML element, including all subelements.
def xml.etree.ElementTree.dump
 Writes an element tree or element structure to sys.stdout.
def xml.etree.ElementTree.parse
 Parses an XML document into an element tree.
def xml.etree.ElementTree.iterparse
 Parses an XML document into an element tree incrementally, and reports what's going on to the user.
def xml.etree.ElementTree.XML
 Parses an XML document from a string constant.
def xml.etree.ElementTree.XMLID
 Parses an XML document from a string constant, and also returns a dictionary which maps from element id:s to elements.
def xml.etree.ElementTree.fromstringlist
 Parses an XML document from a sequence of string fragments.


list xml.etree.ElementTree.__all__
string xml.etree.ElementTree.VERSION = "1.3.0"
tuple xml.etree.ElementTree.ElementPath = _SimpleElementPath()
 xml.etree.ElementTree._Element = _ElementInterfaceElement
 xml.etree.ElementTree.PI = ProcessingInstruction
tuple xml.etree.ElementTree.HTML_EMPTY
dictionary xml.etree.ElementTree._serialize
dictionary xml.etree.ElementTree._namespace_map
 xml.etree.ElementTree.fromstring = XML
 xml.etree.ElementTree.XMLTreeBuilder = XMLParser

Class Documentation

class xml::etree::ElementTree::ParseError

Parser error.

This is a subclass of SyntaxError.

In addition to the exception value, an exception instance contains a specific exception code in the code attribute, and the line and column of the error in the position attribute.

Definition at line 138 of file