Module Expr Str ImportFrom alias Import alias Import alias If CompareEq AttributeLoad NameLoad attr Str body ImportFrom alias Import alias Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad attr Return Call AttributeLoad NameLoad attr NameLoad decorator_list orelse ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Assign NameStore AttributeLoad Call NameLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Expr Call AttributeLoad NameLoad attr Assign NameStore BinOpAdd Str BinOpMult Str NameLoad Assign NameStore BinOpAdd NameLoad Str If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Raise Call NameLoad Str If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return orelse If CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse Raise Call NameLoad Str Assign NameStore AttributeLoad NameLoad attr While NameLoad body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad NameLoad BinOpAdd NameLoad Num Assign NameStore AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareEq NameLoad AttributeLoad NameLoad attr body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr orelse If CompareNotEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad orelse Raise Call NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str NameLoad If CompareEq NameLoad NameLoad body Return If CompareNotEq AttributeLoad NameLoad attr NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareLt AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num orelse Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad BinOpMod Str AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list Return Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad If CompareNotEq NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam defaults Str body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Raise Call NameLoad BinOpAdd Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Num body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore AttributeLoad NameLoad attr If CompareEq NameLoad NameLoad body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body Assign NameStore BinOpMult NameLoad NameLoad If CompareNotEq SubscriptLoad NameLoad Index Num Str body Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad orelse Assign NameStore BinOpAdd NameLoad Call AttributeLoad NameLoad attr Str BinOpAdd Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice UnaryOpUSub Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list
N/A N/A Helper functions for XML.

This module has misc. helper functions for working with XML DOM nodes. compat * N/A os N/A re N/A N/A N/A os name java N/A javax.xml.parsers * N/A java N/A builder N/A N/A N/A N/A DocumentBuilderFactory newInstance newDocumentBuilder parseDocument N/A N/A s N/A N/A N/A stream N/A N/A N/A java io ByteArrayInputStream N/A N/A N/A N/A N/A java lang String s getBytes N/A N/A N/A builder parse stream N/A N/A xml.dom minidom xml.sax saxutils parseDocument N/A N/A s N/A N/A N/A N/A N/A minidom parseString s N/A parseAndStripWhitespace N/A N/A s N/A N/A N/A N/A N/A element N/A N/A parseDocument s documentElement N/A N/A N/A BaseException N/A e N/A N/A N/A SyntaxError N/A str e N/A N/A stripWhitespace element N/A element N/A stripWhitespace N/A N/A element tab N/A 0 N/A N/A N/A N/A element normalize N/A lastSpacer N/A N/A tab N/A spacer N/A lastSpacer N/A N/A N/A N/A element childNodes length 0 N/A N/A N/A SyntaxError Empty XML elements not allowed N/A N/A N/A N/A element childNodes length 1 N/A N/A N/A N/A N/A element firstChild nodeType N/A N/A element firstChild TEXT_NODE N/A N/A N/A N/A N/A element firstChild data lastSpacer N/A N/A N/A N/A element removeChild N/A element firstChild N/A N/A N/A N/A N/A N/A element firstChild nodeType N/A N/A element firstChild ELEMENT_NODE N/A N/A N/A SyntaxError N/A Bad whitespace under '%s' N/A element tagName N/A N/A N/A SyntaxError Unexpected node type in XML document N/A child N/A element firstChild N/A child N/A N/A N/A N/A child nodeType N/A child ELEMENT_NODE N/A N/A N/A stripWhitespace child N/A tab 1 N/A child N/A child nextSibling N/A N/A N/A N/A child nodeType N/A child TEXT_NODE N/A N/A N/A child N/A element lastChild N/A N/A N/A N/A child data lastSpacer N/A N/A N/A SyntaxError N/A Bad whitespace under '%s' N/A element tagName N/A N/A N/A N/A child data spacer N/A N/A N/A SyntaxError N/A Bad whitespace under '%s' N/A element tagName N/A next N/A child nextSibling N/A N/A N/A element removeChild child N/A child next N/A N/A N/A SyntaxError Unexpected node type in XML document N/A checkName N/A N/A element name N/A N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError N/A Missing element: '%s' name N/A N/A name None N/A N/A N/A N/A N/A element tagName name N/A N/A N/A SyntaxError N/A Wrong element name: should be '%s', is '%s' N/A name N/A element tagName N/A getChild N/A N/A element index name N/A None N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError Wrong node type in getChild() N/A child N/A N/A N/A element childNodes item index N/A N/A child None N/A N/A N/A SyntaxError N/A Missing child: '%s' name N/A N/A checkName child name N/A child N/A getChildIter N/A N/A element index N/A N/A ChildIter N/A N/A __init__ N/A N/A self element index N/A N/A N/A N/A self element element N/A N/A self index index N/A next N/A N/A self N/A N/A N/A N/A N/A self index N/A len N/A N/A self element childNodes N/A N/A retVal N/A N/A N/A N/A self element childNodes item N/A self index N/A N/A self index 1 N/A N/A retVal None N/A retVal N/A checkEnd N/A N/A self N/A N/A N/A N/A N/A self index N/A len N/A N/A self element childNodes N/A N/A N/A SyntaxError N/A Too many elements under: '%s' N/A N/A self element tagName N/A N/A N/A N/A ChildIter element index N/A getChildOrNone N/A N/A element index N/A N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError Wrong node type in getChild() N/A child N/A N/A N/A element childNodes item index N/A child N/A getLastChild N/A N/A element index name N/A None N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError Wrong node type in getLastChild() N/A child N/A N/A N/A element childNodes item index N/A N/A child None N/A N/A N/A SyntaxError N/A Missing child: '%s' name N/A N/A child N/A element lastChild N/A N/A N/A SyntaxError N/A Too many elements under: '%s' N/A element tagName N/A N/A checkName child name N/A child N/A N/A nsRegEx http://trevp.net/cryptoID\Z N/A cryptoIDRegEx ([a-km-z3-9]{5}\.){3}[a-km-z3-9]{5}\Z N/A urlRegEx http(s)?://.{1,100}\Z N/A sha1Base64RegEx [A-Za-z0-9+/]{27}=\Z N/A base64RegEx [A-Za-z0-9+/]+={0,4}\Z N/A certsListRegEx (0)?(1)?(2)?(3)?(4)?(5)?(6)?(7)?(8)?(9)?\Z N/A keyRegEx [A-Z]\Z N/A keysListRegEx (A)?(B)?(C)?(D)?(E)?(F)?(G)?(H)?(I)?(J)?(K)?(L)?(M)?(N)?(O)?(P)?(Q)?(R)?(S)?(T)?(U)?(V)?(W)?(X)?(Y)?(Z)?\Z N/A dateTimeRegEx \d\d\d\d-\d\d-\d\dT\d\d:\d\d:\d\dZ\Z N/A shortStringRegEx .{1,100}\Z N/A exprRegEx [a-zA-Z0-9 ,()]{1,200}\Z N/A notAfterDeltaRegEx 0|([1-9][0-9]{0,8})\Z N/A booleanRegEx (true)|(false) getReqAttribute N/A N/A element attrName regEx N/A N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError Wrong node type in getReqAttribute() N/A value N/A N/A element getAttribute attrName N/A N/A value N/A N/A N/A SyntaxError N/A Missing Attribute:  attrName N/A N/A N/A N/A re match regEx value N/A N/A N/A SyntaxError N/A Bad Attribute Value for '%s': '%s'  N/A attrName value N/A N/A N/A element removeAttribute attrName N/A N/A str value N/A getAttribute N/A N/A element attrName regEx N/A N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError Wrong node type in getAttribute() N/A value N/A N/A element getAttribute attrName N/A value N/A N/A N/A N/A N/A re match regEx value N/A N/A N/A SyntaxError N/A Bad Attribute Value for '%s': '%s'  N/A attrName value N/A N/A N/A element removeAttribute attrName N/A N/A str value N/A checkNoMoreAttributes N/A N/A element N/A N/A N/A N/A N/A element nodeType N/A element ELEMENT_NODE N/A N/A N/A SyntaxError Wrong node type in checkNoMoreAttributes() N/A N/A N/A N/A element attributes length 0 N/A N/A N/A SyntaxError N/A Extra attributes on '%s' N/A element tagName N/A getText N/A N/A element regEx N/A N/A N/A textNode N/A element firstChild N/A N/A textNode None N/A N/A N/A SyntaxError N/A Empty element '%s' N/A element tagName N/A N/A N/A textNode nodeType N/A textNode TEXT_NODE N/A N/A N/A SyntaxError N/A Non-text node: '%s' N/A element tagName N/A N/A N/A N/A re match regEx N/A textNode data N/A N/A N/A SyntaxError N/A Bad Text Value for '%s': '%s'  N/A N/A element tagName N/A textNode data N/A N/A str N/A textNode data N/A indent N/A N/A s steps ch N/A N/A N/A tabs N/A ch steps N/A N/A N/A s N/A -1 N/A N/A s N/A tabs N/A N/A s replace N/A tabs N/A N/A s N/A tabs N/A N/A s replace N/A tabs N/A s N/A s N/A N/A N/A len tabs N/A s N/A escape N/A N/A s N/A N/A N/A N/A N/A saxutils escape s N/A