mς &U²Ic@s7dZdfd„ƒYZdZdZdZdZdZdZd Zd Z d Z d Z d Z dZ dZdZdZdZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd!efd"„ƒYZd#efd$„ƒYZd%efd&„ƒYZd'efd(„ƒYZd)efd*„ƒYZd+efd,„ƒYZd-efd.„ƒYZ d/efd0„ƒYZ!d1efd2„ƒYZ"d3efd4„ƒYZ#d5fd6„ƒYZ$d7Z%d8Z&d9Z'd;Z)d;Z*d:k+l,Z,l-Z-d;S(<s W3C Document Object Model implementation for Python. The Python mapping of the Document Object Model is documented in the Python Library Reference in the section on the xml.dom package. This package contains the following modules: minidom -- A simple implementation of the Level 1 DOM with namespace support added (based on the Level 2 specification) and other minor Level 2 functionality. pulldom -- DOM builder supporting on-demand tree-building for selected subtrees of the document. tNodecBsVtZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d ZRS( s$Class giving the NodeType constants.iiiiiiiii i i i (t__name__t __module__t__doc__t ELEMENT_NODEtATTRIBUTE_NODEt TEXT_NODEtCDATA_SECTION_NODEtENTITY_REFERENCE_NODEt ENTITY_NODEtPROCESSING_INSTRUCTION_NODEt COMMENT_NODEt DOCUMENT_NODEtDOCUMENT_TYPE_NODEtDOCUMENT_FRAGMENT_NODEt NOTATION_NODE(((t-/data/zmath/lib/python2.4/xml/dom/__init__.pyRs  iiiiiiiii i i i i iiit DOMExceptioncBs tZdZd„Zd„ZRS(smAbstract base class for DOM exceptions. Exceptions with specific codes are specializations of this class.cOs7|itjotdƒ‚nti|||ŽdS(Ns0DOMException should not be instantiated directly(tselft __class__Rt RuntimeErrort Exceptiont__init__targstkw(RRR((RRAscCs|iS(N(Rtcode(R((Rt _get_codeGs(RRRRR(((RR=s  t IndexSizeErrcBstZeZRS(N(RRtINDEX_SIZE_ERRR(((RRKstDomstringSizeErrcBstZeZRS(N(RRtDOMSTRING_SIZE_ERRR(((RRNstHierarchyRequestErrcBstZeZRS(N(RRtHIERARCHY_REQUEST_ERRR(((RRQstWrongDocumentErrcBstZeZRS(N(RRtWRONG_DOCUMENT_ERRR(((RR!TstInvalidCharacterErrcBstZeZRS(N(RRtINVALID_CHARACTER_ERRR(((RR#WstNoDataAllowedErrcBstZeZRS(N(RRtNO_DATA_ALLOWED_ERRR(((RR%ZstNoModificationAllowedErrcBstZeZRS(N(RRtNO_MODIFICATION_ALLOWED_ERRR(((RR']st NotFoundErrcBstZeZRS(N(RRt NOT_FOUND_ERRR(((RR)`stNotSupportedErrcBstZeZRS(N(RRtNOT_SUPPORTED_ERRR(((RR+cstInuseAttributeErrcBstZeZRS(N(RRtINUSE_ATTRIBUTE_ERRR(((RR-fstInvalidStateErrcBstZeZRS(N(RRtINVALID_STATE_ERRR(((RR/ist SyntaxErrcBstZeZRS(N(RRt SYNTAX_ERRR(((RR1lstInvalidModificationErrcBstZeZRS(N(RRtINVALID_MODIFICATION_ERRR(((RR3ost NamespaceErrcBstZeZRS(N(RRt NAMESPACE_ERRR(((RR5rstInvalidAccessErrcBstZeZRS(N(RRtINVALID_ACCESS_ERRR(((RR7ust ValidationErrcBstZeZRS(N(RRtVALIDATION_ERRR(((RR9xstUserDataHandlercBs&tZdZdZdZdZdZRS(sBClass giving the operation constants for UserDataHandler.handle().iiii(RRRt NODE_CLONEDt NODE_IMPORTEDt NODE_DELETEDt NODE_RENAMED(((RR;{s s$http://www.w3.org/XML/1998/namespaceshttp://www.w3.org/2000/xmlns/shttp://www.w3.org/1999/xhtml(sgetDOMImplementationsregisterDOMImplementationN(.RRRRR R"R$R&R(R*R,R.R0R2R4R6R8R:RRRRRR!R#R%R'R)R+R-R/R1R3R5R7R9R;t XML_NAMESPACEtXMLNS_NAMESPACEtXHTML_NAMESPACEtNonetEMPTY_NAMESPACEt EMPTY_PREFIXtdomregtgetDOMImplementationtregisterDOMImplementation(*R&R"R$R.R,R0R;RRDR/RBR3RR)R1RHR-R*RR#R4R6RR2R RARR+R(R:RR8RGR9R5R@R7R!R'RRER%((Rt?sR