libxml2 - pydoc - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool


libxml2
NAME CLASSES FUNCTIONS
addEncodingAlias(name, alias) boolToText(boolval) buildQName(ncname, prefix, memory, len) buildRelativeURI(URI, base) buildURI(URI, base) canonicPath(path) catalogAdd(type, orig, replace) catalogCleanup() catalogConvert() catalogDump(out) catalogGetPublic(pubID) catalogGetSystem(sysID) catalogRemove(value) catalogResolve(pubID, sysID) catalogResolvePublic(pubID) catalogResolveSystem(sysID) catalogResolveURI(URI) catalogSetDebug(level) checkFilename(path) checkLanguageID(lang) checkUTF8(utf) checkVersion(version) checkWrapper(obj) cleanupCharEncodingHandlers() cleanupEncodingAliases() cleanupGlobals() cleanupInputCallbacks() cleanupOutputCallbacks() cleanupParser() cleanupPredefinedEntities() compressMode() copyChar(len, out, val) copyCharMultiByte(out, val) createDocParserCtxt(cur) createEntityParserCtxt(URL, ID, base) createFileParserCtxt(filename) createInputBuffer(file, encoding) createMemoryParserCtxt(buffer, size) createOutputBuffer(file, encoding) createPushParser(SAX, chunk, size, URI) createURI() createURLParserCtxt(filename, options) debugDumpString(output, str) debugMemory(activate) defaultSAXHandlerInit() delEncodingAlias(alias) dictCleanup() docbDefaultSAXHandlerInit() dumpMemory() encodingAlias(alias) fileMatch(filename) htmlCreateFileParserCtxt(filename, encoding) htmlCreateMemoryParserCtxt(buffer, size) htmlCreatePushParser(SAX, chunk, size, URI) htmlDefaultSAXHandlerInit() htmlHandleOmittedElem(val) htmlInitAutoClose() htmlIsBooleanAttr(name) htmlIsScriptAttribute(name) htmlNewDoc(URI, ExternalID) htmlNewDocNoDtD(URI, ExternalID) htmlNewParserCtxt() htmlParseDoc(cur, encoding) htmlParseFile(filename, encoding) htmlReadDoc(cur, URL, encoding, options) htmlReadFd(fd, URL, encoding, options) htmlReadFile(filename, encoding, options) htmlReadMemory(buffer, size, URL, encoding, options) htmlSAXParseFile(SAX, URI, encoding) iOFTPMatch(filename) iOHTTPMatch(filename) initCharEncodingHandlers() initGlobals() initParser() initializeCatalog() initializeDict() initializePredefinedEntities() isBaseChar(ch) isBlank(ch) isChar(ch) isCombining(ch) isDigit(ch) isExtender(ch) isIdeographic(ch) isLetter(c) isPubidChar(ch) isXHTML(systemID, publicID) keepBlanksDefault(val) lastError() lineNumbersDefault(val) loadACatalog(filename) loadCatalog(filename) loadCatalogs(pathss) loadSGMLSuperCatalog(filename) memoryUsed() namePop(ctxt) namePush(ctxt, value) nanoFTPCleanup() nanoFTPInit() nanoFTPProxy(host, port, user, passwd, type) nanoFTPScanProxy(URL) nanoHTTPCleanup() nanoHTTPInit() nanoHTTPScanProxy(URL) newCatalog(sgml) newComment(content) newDoc(version) newNode(name) newPI(name, content) newParserCtxt() newText(content) newTextLen(content, len) newTextReaderFilename(URI) newValidCtxt() nodePop(ctxt) nodePush(ctxt, value) nodeWrap(o) normalizeURIPath(path) normalizeWindowsPath(path) parseCatalogFile(filename) parseDTD(ExternalID, SystemID) parseDoc(cur) parseEntity(filename) parseFile(filename) parseMemory(buffer, size) parseURI(str) parseURIRaw(str, raw) parserGetDirectory(filename) pathToURI(path) pedanticParserDefault(val) popInputCallbacks() popOutputCallbacks() pos_id(o) predefinedEntity(name) pythonCleanupParser() readDoc(cur, URL, encoding, options) readFd(fd, URL, encoding, options) readFile(filename, encoding, options) readMemory(buffer, size, URL, encoding, options) readerForDoc(cur, URL, encoding, options) readerForFd(fd, URL, encoding, options) readerForFile(filename, encoding, options) readerForMemory(buffer, size, URL, encoding, options) recoverDoc(cur) recoverFile(filename) recoverMemory(buffer, size) regexpCompile(regexp) registerDefaultInputCallbacks() registerDefaultOutputCallbacks() registerErrorHandler(f, ctx) registerHTTPPostCallbacks() registerInputCallback(func) registerXPathFunction(ctxt, name, ns_uri, f) relaxNGCleanupTypes() relaxNGInitTypes() relaxNGNewMemParserCtxt(buffer, size) relaxNGNewParserCtxt(URL) resetLastError() schemaCleanupTypes() schemaCollapseString(value) schemaInitTypes() schemaNewMemParserCtxt(buffer, size) schemaNewParserCtxt(URL) schemaWhiteSpaceReplace(value) setCompressMode(mode) setEntityLoader(resolver) shellPrintXPathError(errorType, arg) substituteEntitiesDefault(val) thrDefDefaultBufferSize(v) thrDefDoValidityCheckingDefaultValue(v) thrDefGetWarningsDefaultValue(v) thrDefIndentTreeOutput(v) thrDefKeepBlanksDefaultValue(v) thrDefLineNumbersDefaultValue(v) thrDefLoadExtDtdDefaultValue(v) thrDefParserDebugEntities(v) thrDefPedanticParserDefaultValue(v) thrDefSaveNoEmptyTags(v) thrDefSubstituteEntitiesDefaultValue(v) thrDefTreeIndentString(v) uCSIsAegeanNumbers(code) uCSIsAlphabeticPresentationForms(code) uCSIsArabic(code) uCSIsArabicPresentationFormsA(code) uCSIsArabicPresentationFormsB(code) uCSIsArmenian(code) uCSIsArrows(code) uCSIsBasicLatin(code) uCSIsBengali(code) uCSIsBlock(code, block) uCSIsBlockElements(code) uCSIsBopomofo(code) uCSIsBopomofoExtended(code) uCSIsBoxDrawing(code) uCSIsBraillePatterns(code) uCSIsBuhid(code) uCSIsByzantineMusicalSymbols(code) uCSIsCJKCompatibility(code) uCSIsCJKCompatibilityForms(code) uCSIsCJKCompatibilityIdeographs(code) uCSIsCJKCompatibilityIdeographsSupplement(code) uCSIsCJKRadicalsSupplement(code) uCSIsCJKSymbolsandPunctuation(code) uCSIsCJKUnifiedIdeographs(code) uCSIsCJKUnifiedIdeographsExtensionA(code) uCSIsCJKUnifiedIdeographsExtensionB(code) uCSIsCat(code, cat) uCSIsCatC(code) uCSIsCatCc(code) uCSIsCatCf(code) uCSIsCatCo(code) uCSIsCatCs(code) uCSIsCatL(code) uCSIsCatLl(code) uCSIsCatLm(code) uCSIsCatLo(code) uCSIsCatLt(code) uCSIsCatLu(code) uCSIsCatM(code) uCSIsCatMc(code) uCSIsCatMe(code) uCSIsCatMn(code) uCSIsCatN(code) uCSIsCatNd(code) uCSIsCatNl(code) uCSIsCatNo(code) uCSIsCatP(code) uCSIsCatPc(code) uCSIsCatPd(code) uCSIsCatPe(code) uCSIsCatPf(code) uCSIsCatPi(code) uCSIsCatPo(code) uCSIsCatPs(code) uCSIsCatS(code) uCSIsCatSc(code) uCSIsCatSk(code) uCSIsCatSm(code) uCSIsCatSo(code) uCSIsCatZ(code) uCSIsCatZl(code) uCSIsCatZp(code) uCSIsCatZs(code) uCSIsCherokee(code) uCSIsCombiningDiacriticalMarks(code) uCSIsCombiningDiacriticalMarksforSymbols(code) uCSIsCombiningHalfMarks(code) uCSIsCombiningMarksforSymbols(code) uCSIsControlPictures(code) uCSIsCurrencySymbols(code) uCSIsCypriotSyllabary(code) uCSIsCyrillic(code) uCSIsCyrillicSupplement(code) uCSIsDeseret(code) uCSIsDevanagari(code) uCSIsDingbats(code) uCSIsEnclosedAlphanumerics(code) uCSIsEnclosedCJKLettersandMonths(code) uCSIsEthiopic(code) uCSIsGeneralPunctuation(code) uCSIsGeometricShapes(code) uCSIsGeorgian(code) uCSIsGothic(code) uCSIsGreek(code) uCSIsGreekExtended(code) uCSIsGreekandCoptic(code) uCSIsGujarati(code) uCSIsGurmukhi(code) uCSIsHalfwidthandFullwidthForms(code) uCSIsHangulCompatibilityJamo(code) uCSIsHangulJamo(code) uCSIsHangulSyllables(code) uCSIsHanunoo(code) uCSIsHebrew(code) uCSIsHighPrivateUseSurrogates(code) uCSIsHighSurrogates(code) uCSIsHiragana(code) uCSIsIPAExtensions(code) uCSIsIdeographicDescriptionCharacters(code) uCSIsKanbun(code) uCSIsKangxiRadicals(code) uCSIsKannada(code) uCSIsKatakana(code) uCSIsKatakanaPhoneticExtensions(code) uCSIsKhmer(code) uCSIsKhmerSymbols(code) uCSIsLao(code) uCSIsLatin1Supplement(code) uCSIsLatinExtendedA(code) uCSIsLatinExtendedAdditional(code) uCSIsLatinExtendedB(code) uCSIsLetterlikeSymbols(code) uCSIsLimbu(code) uCSIsLinearBIdeograms(code) uCSIsLinearBSyllabary(code) uCSIsLowSurrogates(code) uCSIsMalayalam(code) uCSIsMathematicalAlphanumericSymbols(code) uCSIsMathematicalOperators(code) uCSIsMiscellaneousMathematicalSymbolsA(code) uCSIsMiscellaneousMathematicalSymbolsB(code) uCSIsMiscellaneousSymbols(code) uCSIsMiscellaneousSymbolsandArrows(code) uCSIsMiscellaneousTechnical(code) uCSIsMongolian(code) uCSIsMusicalSymbols(code) uCSIsMyanmar(code) uCSIsNumberForms(code) uCSIsOgham(code) uCSIsOldItalic(code) uCSIsOpticalCharacterRecognition(code) uCSIsOriya(code) uCSIsOsmanya(code) uCSIsPhoneticExtensions(code) uCSIsPrivateUse(code) uCSIsPrivateUseArea(code) uCSIsRunic(code) uCSIsShavian(code) uCSIsSinhala(code) uCSIsSmallFormVariants(code) uCSIsSpacingModifierLetters(code) uCSIsSpecials(code) uCSIsSuperscriptsandSubscripts(code) uCSIsSupplementalArrowsA(code) uCSIsSupplementalArrowsB(code) uCSIsSupplementalMathematicalOperators(code) uCSIsSupplementaryPrivateUseAreaA(code) uCSIsSupplementaryPrivateUseAreaB(code) uCSIsSyriac(code) uCSIsTagalog(code) uCSIsTagbanwa(code) uCSIsTags(code) uCSIsTaiLe(code) uCSIsTaiXuanJingSymbols(code) uCSIsTamil(code) uCSIsTelugu(code) uCSIsThaana(code) uCSIsThai(code) uCSIsTibetan(code) uCSIsUgaritic(code) uCSIsUnifiedCanadianAboriginalSyllabics(code) uCSIsVariationSelectors(code) uCSIsVariationSelectorsSupplement(code) uCSIsYiRadicals(code) uCSIsYiSyllables(code) uCSIsYijingHexagramSymbols(code) validateNCName(value, space) validateNMToken(value, space) validateName(value, space) validateNameValue(value) validateNamesValue(value) validateNmtokenValue(value) validateNmtokensValue(value) validateQName(value, space) valuePop(ctxt) xpathObjectRet(o)
DATA FILE
Help on module libxml2:

NAME
    libxml2

CLASSES
    builtins.Exception(builtins.BaseException)
        libxmlError
            parserError
            treeError
            uriError
            xpathError
    builtins.object
        Error
        SAXCallback
        Schema
        SchemaParserCtxt
        SchemaValidCtxtCore
            SchemaValidCtxt
        URI
        ValidCtxtCore
            ValidCtxt
        catalog
        ioWrapper
            ioReadWrapper
                inputBuffer
            ioWriteWrapper
                outputBuffer
        parserCtxtCore
            parserCtxt
        relaxNgParserCtxt
        relaxNgSchema
        relaxNgValidCtxtCore
            relaxNgValidCtxt
        xmlCore
            xmlNode
                xmlAttr
                xmlAttribute
                xmlDoc
                xmlDtd
                xmlElement
                xmlEntity
                xmlNs
        xmlCoreBreadthFirstItertor
        xmlCoreDepthFirstItertor
        xmlReg
        xmlTextReaderCore
            xmlTextReader
        xmlTextReaderLocator
        xpathContext
        xpathParserContext

    class Error(builtins.object)
     |  Error(_obj=None)
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  code(self)
     |      The error code, e.g. an xmlParserError
     |
     |  copyError(self, to)
     |      Save the original error to the new place.
     |
     |  domain(self)
     |      What part of the library raised this error
     |
     |  file(self)
     |      the filename
     |
     |  level(self)
     |      how consequent is the error
     |
     |  line(self)
     |      the line number if available
     |
     |  message(self)
     |      human-readable informative error message
     |
     |  resetError(self)
     |      Cleanup the error.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class SAXCallback(builtins.object)
     |  Base class for SAX handlers
     |
     |  Methods defined here:
     |
     |  attributeDecl(self, elem, name, type, defi, defaultValue, nameList)
     |      called when an ATTRIBUTE definition has been found
     |
     |  cdataBlock(self, data)
     |      called when CDATA section have been read, data is the string
     |      containing the data, multiple consecutive cdataBlock() callback
     |      are possible.
     |
     |  characters(self, data)
     |      called when character data have been read, data is the string
     |      containing the data, multiple consecutive characters() callback
     |      are possible.
     |
     |  comment(self, content)
     |      called when a comment has been found, content contains the comment
     |
     |  elementDecl(self, name, type, content)
     |      called when an ELEMENT definition has been found
     |
     |  endDocument(self)
     |      called at the end of the document
     |
     |  endElement(self, tag)
     |      called at the start of every element, tag is the name of
     |      the element
     |
     |  entityDecl(self, name, publicId, systemID, notationName)
     |      called when an unparsed ENTITY declaration has been found,
     |      name is the entity name and publicId,, systemID are the entity
     |      public and system identifier for that entity if available,
     |      and notationName indicate the associated NOTATION
     |
     |  error(self, msg)
     |
     |  externalSubset(self, name, externalID, systemID)
     |      called when a DOCTYPE declaration has been found, name is the
     |      DTD name and externalID, systemID are the DTD public and system
     |      identifier for that DTd if available
     |
     |  fatalError(self, msg)
     |
     |  ignorableWhitespace(self, data)
     |      called when potentially ignorable white spaces have been found
     |
     |  internalSubset(self, name, externalID, systemID)
     |      called when a DOCTYPE declaration has been found, name is the
     |      DTD name and externalID, systemID are the DTD public and system
     |      identifier for that DTD if available
     |
     |  notationDecl(self, name, externalID, systemID)
     |      called when an NOTATION declaration has been found, name is the
     |      notation name and externalID, systemID are the notation public and
     |      system identifier for that notation if available
     |
     |  processingInstruction(self, target, data)
     |      called when a PI has been found, target contains the PI name and
     |      data is the associated data in the PI
     |
     |  reference(self, name)
     |      called when an entity reference has been found
     |
     |  startDocument(self)
     |      called at the start of the document
     |
     |  startElement(self, tag, attrs)
     |      called at the start of every element, tag is the name of
     |      the element, attrs is a dictionary of the element's attributes
     |
     |  warning(self, msg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class Schema(builtins.object)
     |  Schema(_obj=None)
     |
     |  Methods defined here:
     |
     |  SetSchema(self, reader)
     |      Use XSD Schema to validate the document as it is processed.
     |      Activation is only possible before the first Read(). if
     |      @schema is None, then Schema validation is deactivated. The
     |      @schema should not be freed until the reader is deallocated
     |       or its use has been deactivated.
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  schemaDump(self, output)
     |      Dump a Schema structure.
     |
     |  schemaNewValidCtxt(self)
     |      Create an XML Schemas validation context based on the given
     |      schema.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class SchemaParserCtxt(builtins.object)
     |  SchemaParserCtxt(_obj=None)
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  schemaParse(self)
     |      parse a schema definition resource and build an internal
     |      XML Schema structure which can be used to validate
     |       instances.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class SchemaValidCtxt(SchemaValidCtxtCore)
     |  SchemaValidCtxt(_obj=None)
     |
     |  Method resolution order:
     |      SchemaValidCtxt
     |      SchemaValidCtxtCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  SchemaValidateCtxt(self, reader, options)
     |      Use W3C XSD schema context to validate the document as it
     |      is processed. Activation is only possible before the first
     |      Read(). If @ctxt is None, then XML Schema validation is
     |       deactivated.
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  schemaIsValid(self)
     |      Check if any error was detected during validation.
     |
     |  schemaSetValidOptions(self, options)
     |      Sets the options to be used during the validation.
     |
     |  schemaValidCtxtGetOptions(self)
     |      Get the validation context options.
     |
     |  schemaValidCtxtGetParserCtxt(self)
     |      allow access to the parser context of the schema validation
     |      context
     |
     |  schemaValidateDoc(self, doc)
     |      Validate a document tree in memory.
     |
     |  schemaValidateFile(self, filename, options)
     |      Do a schemas validation of the given resource, it will use
     |      the SAX streamable validation internally.
     |
     |  schemaValidateOneElement(self, elem)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  schemaValidateSetFilename(self, filename)
     |      Workaround to provide file error reporting information when
     |      this is not provided by current APIs
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from SchemaValidCtxtCore:
     |
     |  setValidityErrorHandler(self, err_func, warn_func, arg=None)
     |      Register error and warning handlers for Schema validation.
     |      These will be called back as f(msg,arg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from SchemaValidCtxtCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class SchemaValidCtxtCore(builtins.object)
     |  SchemaValidCtxtCore(*args, **kw)
     |
     |  Methods defined here:
     |
     |  __init__(self, *args, **kw)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  setValidityErrorHandler(self, err_func, warn_func, arg=None)
     |      Register error and warning handlers for Schema validation.
     |      These will be called back as f(msg,arg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class URI(builtins.object)
     |  URI(_obj=None)
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  authority(self)
     |      Get the authority part from an URI
     |
     |  fragment(self)
     |      Get the fragment part from an URI
     |
     |  opaque(self)
     |      Get the opaque part from an URI
     |
     |  parseURIReference(self, str)
     |      Parse an URI reference string based on RFC 3986 and fills
     |      in the appropriate fields of the @uri structure
     |       URI-reference = URI / relative-ref
     |
     |  path(self)
     |      Get the path part from an URI
     |
     |  port(self)
     |      Get the port part from an URI
     |
     |  printURI(self, stream)
     |      Prints the URI in the stream @stream.
     |
     |  query(self)
     |      Get the query part from an URI
     |
     |  queryRaw(self)
     |      Get the raw query part from an URI (i.e. the unescaped
     |      form).
     |
     |  saveUri(self)
     |      Save the URI as an escaped string
     |
     |  scheme(self)
     |      Get the scheme part from an URI
     |
     |  server(self)
     |      Get the server part from an URI
     |
     |  setAuthority(self, authority)
     |      Set the authority part of an URI.
     |
     |  setFragment(self, fragment)
     |      Set the fragment part of an URI.
     |
     |  setOpaque(self, opaque)
     |      Set the opaque part of an URI.
     |
     |  setPath(self, path)
     |      Set the path part of an URI.
     |
     |  setPort(self, port)
     |      Set the port part of an URI.
     |
     |  setQuery(self, query)
     |      Set the query part of an URI.
     |
     |  setQueryRaw(self, query_raw)
     |      Set the raw query part of an URI (i.e. the unescaped form).
     |
     |  setScheme(self, scheme)
     |      Set the scheme part of an URI.
     |
     |  setServer(self, server)
     |      Set the server part of an URI.
     |
     |  setUser(self, user)
     |      Set the user part of an URI.
     |
     |  user(self)
     |      Get the user part from an URI
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class ValidCtxt(ValidCtxtCore)
     |  ValidCtxt(_obj=None)
     |
     |  Method resolution order:
     |      ValidCtxt
     |      ValidCtxtCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  validCtxtNormalizeAttributeValue(self, doc, elem, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |      space (#x20) characters by single space (#x20) character.
     |      Also  check VC: Standalone Document Declaration in P32, and
     |       update ctxt->valid accordingly
     |
     |  validateDocument(self, doc)
     |      Try to validate the document instance  basically it does
     |      the all the checks described by the XML Rec i.e. validates
     |      the internal and external subset (if present) and validate
     |       the document tree.
     |
     |  validateDocumentFinal(self, doc)
     |      Does the final step for the document validation once all
     |      the incremental validation steps have been completed
     |      basically it does the following checks described by the XML
     |      Rec  Check all the IDREF/IDREFS attributes definition for
     |       validity
     |
     |  validateDtd(self, doc, dtd)
     |      Try to validate the document against the dtd instance
     |      Basically it does check all the definitions in the DtD.
     |      Note the the internal subset (if present) is de-coupled
     |      (i.e. not used), which could give problems if ID or IDREF
     |       is present.
     |
     |  validateDtdFinal(self, doc)
     |      Does the final step for the dtds validation once all the
     |      subsets have been parsed  basically it does the following
     |      checks described by the XML Rec - check that ENTITY and
     |      ENTITIES type attributes default or possible values matches
     |      one of the defined entities. - check that NOTATION type
     |      attributes default or possible values matches one of the
     |       defined notations.
     |
     |  validateElement(self, doc, elem)
     |      Try to validate the subtree under an element
     |
     |  validateNotationUse(self, doc, notationName)
     |      Validate that the given name match a notation declaration.
     |      - [ VC: Notation Declared ]
     |
     |  validateOneAttribute(self, doc, elem, attr, value)
     |      Try to validate a single attribute for an element basically
     |      it does the following checks as described by the XML-1.0
     |      recommendation: - [ VC: Attribute Value Type ] - [ VC:
     |      Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC:
     |      Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity
     |      Name ] - [ VC: Notation Attributes ]  The ID/IDREF
     |       uniqueness and matching are done separately
     |
     |  validateOneElement(self, doc, elem)
     |      Try to validate a single element and it's attributes,
     |      basically it does the following checks as described by the
     |      XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC:
     |      Required Attribute ] Then call xmlValidateOneAttribute()
     |      for each attribute present.  The ID/IDREF checkings are
     |       done separately
     |
     |  validateOneNamespace(self, doc, elem, prefix, ns, value)
     |      Try to validate a single namespace declaration for an
     |      element basically it does the following checks as described
     |      by the XML-1.0 recommendation: - [ VC: Attribute Value Type
     |      ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] -
     |      [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC:
     |      Entity Name ] - [ VC: Notation Attributes ]  The ID/IDREF
     |       uniqueness and matching are done separately
     |
     |  validatePopElement(self, doc, elem, qname)
     |      Pop the element end from the validation stack.
     |
     |  validatePushCData(self, data, len)
     |      check the CData parsed for validation in the current stack
     |
     |  validatePushElement(self, doc, elem, qname)
     |      Push a new element start on the validation stack.
     |
     |  validateRoot(self, doc)
     |      Try to validate a the root element basically it does the
     |      following check as described by the XML-1.0 recommendation:
     |      - [ VC: Root Element Type ] it doesn't try to recurse or
     |       apply other check to the element
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ValidCtxtCore:
     |
     |  setValidityErrorHandler(self, err_func, warn_func, arg=None)
     |      Register error and warning handlers for DTD validation.
     |      These will be called back as f(msg,arg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from ValidCtxtCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class ValidCtxtCore(builtins.object)
     |  ValidCtxtCore(*args, **kw)
     |
     |  Methods defined here:
     |
     |  __init__(self, *args, **kw)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  setValidityErrorHandler(self, err_func, warn_func, arg=None)
     |      Register error and warning handlers for DTD validation.
     |      These will be called back as f(msg,arg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class catalog(builtins.object)
     |  catalog(_obj=None)
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  add(self, type, orig, replace)
     |      Add an entry in the catalog, it may overwrite existing but
     |      different entries.
     |
     |  catalogIsEmpty(self)
     |      Check is a catalog is empty
     |
     |  convertSGMLCatalog(self)
     |      Convert all the SGML catalog entries as XML ones
     |
     |  dump(self, out)
     |      Dump the given catalog to the given file.
     |
     |  remove(self, value)
     |      Remove an entry from the catalog
     |
     |  resolve(self, pubID, sysID)
     |      Do a complete resolution lookup of an External Identifier
     |
     |  resolvePublic(self, pubID)
     |      Try to lookup the catalog local reference associated to a
     |      public ID in that catalog
     |
     |  resolveSystem(self, sysID)
     |      Try to lookup the catalog resource for a system ID
     |
     |  resolveURI(self, URI)
     |      Do a complete resolution lookup of an URI
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class inputBuffer(ioReadWrapper)
     |  inputBuffer(_obj=None)
     |
     |  Method resolution order:
     |      inputBuffer
     |      ioReadWrapper
     |      ioWrapper
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  Setup(self, reader, URL, encoding, options)
     |      Setup an XML reader with new options
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  grow(self, len)
     |      Grow up the content of the input buffer, the old data are
     |      preserved This routine handle the I18N transcoding to
     |      internal UTF-8 This routine is used when operating the
     |      parser in normal (pull) mode  TODO: one should be able to
     |      remove one extra copy by copying directly onto in->buffer
     |       or in->raw
     |
     |  newTextReader(self, URI)
     |      Create an xmlTextReader structure fed with @input
     |
     |  push(self, len, buf)
     |      Push the content of the arry in the input buffer This
     |      routine handle the I18N transcoding to internal UTF-8 This
     |      is used when operating the parser in progressive (push)
     |       mode.
     |
     |  read(self, len)
     |      Refresh the content of the input buffer, the old data are
     |      considered consumed This routine handle the I18N
     |       transcoding to internal UTF-8
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ioReadWrapper:
     |
     |  close(self)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ioWrapper:
     |
     |  io_close(self)
     |
     |  io_flush(self)
     |
     |  io_read(self, len=-1)
     |
     |  io_write(self, str, len=-1)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from ioWrapper:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class ioReadWrapper(ioWrapper)
     |  ioReadWrapper(_obj, enc='')
     |
     |  Method resolution order:
     |      ioReadWrapper
     |      ioWrapper
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj, enc='')
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  close(self)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ioWrapper:
     |
     |  io_close(self)
     |
     |  io_flush(self)
     |
     |  io_read(self, len=-1)
     |
     |  io_write(self, str, len=-1)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from ioWrapper:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class ioWrapper(builtins.object)
     |  ioWrapper(_obj)
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  io_close(self)
     |
     |  io_flush(self)
     |
     |  io_read(self, len=-1)
     |
     |  io_write(self, str, len=-1)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class ioWriteWrapper(ioWrapper)
     |  ioWriteWrapper(_obj, enc='')
     |
     |  Method resolution order:
     |      ioWriteWrapper
     |      ioWrapper
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj, enc='')
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  close(self)
     |
     |  flush(self)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ioWrapper:
     |
     |  io_close(self)
     |
     |  io_flush(self)
     |
     |  io_read(self, len=-1)
     |
     |  io_write(self, str, len=-1)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from ioWrapper:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class libxmlError(builtins.Exception)
     |  # The root of all libxml2 errors.
     |
     |  Method resolution order:
     |      libxmlError
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Data descriptors defined here:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.Exception:
     |
     |  __init__(self, /, *args, **kwargs)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  __str__(self, /)
     |      Return str(self).
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

    class outputBuffer(ioWriteWrapper)
     |  outputBuffer(_obj=None)
     |
     |  Method resolution order:
     |      outputBuffer
     |      ioWriteWrapper
     |      ioWrapper
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  getContent(self)
     |      Gives a pointer to the data currently held in the output
     |      buffer
     |
     |  htmlDocContentDumpFormatOutput(self, cur, encoding, format)
     |      Dump an HTML document.
     |
     |  htmlDocContentDumpOutput(self, cur, encoding)
     |      Dump an HTML document. Formatting return/spaces are added.
     |
     |  htmlNodeDumpFormatOutput(self, doc, cur, encoding, format)
     |      Dump an HTML node, recursive behaviour,children are printed
     |      too.
     |
     |  htmlNodeDumpOutput(self, doc, cur, encoding)
     |      Dump an HTML node, recursive behaviour,children are printed
     |      too, and formatting returns/spaces are added.
     |
     |  nodeDumpOutput(self, doc, cur, level, format, encoding)
     |      Dump an XML node, recursive behaviour, children are printed
     |      too. Note that @format = 1 provide node indenting only if
     |      xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was
     |       called
     |
     |  saveFileTo(self, cur, encoding)
     |      Dump an XML document to an I/O buffer. Warning ! This call
     |      xmlOutputBufferClose() on buf which is not available after
     |       this call.
     |
     |  saveFormatFileTo(self, cur, encoding, format)
     |      Dump an XML document to an I/O buffer. Warning ! This call
     |      xmlOutputBufferClose() on buf which is not available after
     |       this call.
     |
     |  write(self, len, buf)
     |      Write the content of the array in the output I/O buffer
     |      This routine handle the I18N transcoding from internal
     |      UTF-8 The buffer is lossless, i.e. will store in case of
     |       partial or delayed writes.
     |
     |  writeString(self, str)
     |      Write the content of the string in the output I/O buffer
     |      This routine handle the I18N transcoding from internal
     |      UTF-8 The buffer is lossless, i.e. will store in case of
     |       partial or delayed writes.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ioWriteWrapper:
     |
     |  __del__(self)
     |
     |  close(self)
     |
     |  flush(self)
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from ioWrapper:
     |
     |  io_close(self)
     |
     |  io_flush(self)
     |
     |  io_read(self, len=-1)
     |
     |  io_write(self, str, len=-1)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from ioWrapper:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class parserCtxt(parserCtxtCore)
     |  parserCtxt(_obj=None)
     |
     |  Method resolution order:
     |      parserCtxt
     |      parserCtxtCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  byteConsumed(self)
     |      This function provides the current index of the parser
     |      relative to the start of the current entity. This function
     |      is computed in bytes from the beginning starting at zero
     |      and finishing at the size in byte of the file if parsing a
     |      file. The function is of constant cost if the input is
     |       UTF-8 but can be costly if run on non-UTF-8 input.
     |
     |  clearParserCtxt(self)
     |      Clear (release owned resources) and reinitialize a parser
     |      context
     |
     |  ctxtReadDoc(self, cur, URL, encoding, options)
     |      parse an XML in-memory document and build a tree. This
     |      reuses the existing @ctxt parser context
     |
     |  ctxtReadFd(self, fd, URL, encoding, options)
     |      parse an XML from a file descriptor and build a tree. This
     |      reuses the existing @ctxt parser context NOTE that the file
     |      descriptor will not be closed when the reader is closed or
     |       reset.
     |
     |  ctxtReadFile(self, filename, encoding, options)
     |      parse an XML file from the filesystem or the network. This
     |      reuses the existing @ctxt parser context
     |
     |  ctxtReadMemory(self, buffer, size, URL, encoding, options)
     |      parse an XML in-memory document and build a tree. This
     |      reuses the existing @ctxt parser context
     |
     |  ctxtReset(self)
     |      Reset a parser context
     |
     |  ctxtResetPush(self, chunk, size, filename, encoding)
     |      Reset a push parser context
     |
     |  ctxtUseOptions(self, options)
     |      Applies the options to the parser context
     |
     |  decodeEntities(self, len, what, end, end2, end3)
     |      This function is deprecated, we now always process entities
     |      content through xmlStringDecodeEntities  TODO: remove it in
     |      next major release.  [67] Reference ::= EntityRef | CharRef
     |        [69] PEReference ::= '%' Name ';'
     |
     |  doc(self)
     |      Get the document tree from a parser context.
     |
     |  handleEntity(self, entity)
     |      Default handling of defined entities, when should we define
     |      a new input stream ? When do we just handle that as a set
     |       of chars ?  OBSOLETE: to be removed at some point.
     |
     |  htmlCtxtReadDoc(self, cur, URL, encoding, options)
     |      parse an XML in-memory document and build a tree. This
     |      reuses the existing @ctxt parser context
     |
     |  htmlCtxtReadFd(self, fd, URL, encoding, options)
     |      parse an XML from a file descriptor and build a tree. This
     |      reuses the existing @ctxt parser context
     |
     |  htmlCtxtReadFile(self, filename, encoding, options)
     |      parse an XML file from the filesystem or the network. This
     |      reuses the existing @ctxt parser context
     |
     |  htmlCtxtReadMemory(self, buffer, size, URL, encoding, options)
     |      parse an XML in-memory document and build a tree. This
     |      reuses the existing @ctxt parser context
     |
     |  htmlCtxtReset(self)
     |      Reset a parser context
     |
     |  htmlCtxtUseOptions(self, options)
     |      Applies the options to the parser context
     |
     |  htmlFreeParserCtxt(self)
     |      Free all the memory used by a parser context. However the
     |      parsed document in ctxt->myDoc is not freed.
     |
     |  htmlParseCharRef(self)
     |      parse Reference declarations  [66] CharRef ::= '&#' [0-9]+
     |      ';' | '&#x' [0-9a-fA-F]+ ';'
     |
     |  htmlParseChunk(self, chunk, size, terminate)
     |      Parse a Chunk of memory
     |
     |  htmlParseDocument(self)
     |      parse an HTML document (and build a tree if using the
     |      standard SAX interface).
     |
     |  htmlParseElement(self)
     |      parse an HTML element, this is highly recursive this is
     |      kept for compatibility with previous code versions  [39]
     |      element ::= EmptyElemTag | STag content ETag  [41]
     |       Attribute ::= Name Eq AttValue
     |
     |  initParserCtxt(self)
     |      Initialize a parser context
     |
     |  isValid(self)
     |      Get the validity information from a parser context.
     |
     |  lineNumbers(self, linenumbers)
     |      Switch on the generation of line number for elements nodes.
     |
     |  loadSubset(self, loadsubset)
     |      Switch the parser to load the DTD without validating.
     |
     |  namespaceParseNCName(self)
     |      parse an XML namespace name.  TODO: this seems not in use
     |      anymore, the namespace handling is done on top of the SAX
     |      interfaces, i.e. not on raw input.  [NS 3] NCName ::=
     |      (Letter | '_') (NCNameChar)*  [NS 4] NCNameChar ::= Letter
     |       | Digit | '.' | '-' | '_' | CombiningChar | Extender
     |
     |  namespaceParseNSDef(self)
     |      parse a namespace prefix declaration  TODO: this seems not
     |      in use anymore, the namespace handling is done on top of
     |      the SAX interfaces, i.e. not on raw input.  [NS 1] NSDef
     |      ::= PrefixDef Eq SystemLiteral  [NS 2] PrefixDef ::=
     |       'xmlns' (':' NCName)?
     |
     |  nextChar(self)
     |      Skip to the next char input char.
     |
     |  parseAttValue(self)
     |      parse a value for an attribute Note: the parser won't do
     |      substitution of entities here, this will be handled later
     |      in xmlStringGetNodeList  [10] AttValue ::= '"' ([^<&"] |
     |      Reference)* '"' | "'" ([^<&'] | Reference)* "'"  3.3.3
     |      Attribute-Value Normalization: Before the value of an
     |      attribute is passed to the application or checked for
     |      validity, the XML processor must normalize it as follows: -
     |      a character reference is processed by appending the
     |      referenced character to the attribute value - an entity
     |      reference is processed by recursively processing the
     |      replacement text of the entity - a whitespace character
     |      (#x20, #xD, #xA, #x9) is processed by appending #x20 to the
     |      normalized value, except that only a single #x20 is
     |      appended for a "#xD#xA" sequence that is part of an
     |      external parsed entity or the literal entity value of an
     |      internal parsed entity - other characters are processed by
     |      appending them to the normalized value If the declared
     |      value is not CDATA, then the XML processor must further
     |      process the normalized attribute value by discarding any
     |      leading and trailing space (#x20) characters, and by
     |      replacing sequences of space (#x20) characters by a single
     |      space (#x20) character. All attributes for which no
     |      declaration has been read should be treated by a
     |       non-validating parser as if declared CDATA.
     |
     |  parseAttributeListDecl(self)
     |      : parse the Attribute list def for an element  [52]
     |      AttlistDecl ::= '<!ATTLIST' S Name AttDef* S? '>'  [53]
     |       AttDef ::= S Name S AttType S DefaultDecl
     |
     |  parseCDSect(self)
     |      Parse escaped pure raw content.  [18] CDSect ::= CDStart
     |      CData CDEnd  [19] CDStart ::= '<![CDATA['  [20] Data ::=
     |       (Char* - (Char* ']]>' Char*))  [21] CDEnd ::= ']]>'
     |
     |  parseCharData(self, cdata)
     |      parse a CharData section. if we are within a CDATA section
     |      ']]>' marks an end of section.  The right angle bracket (>)
     |      may be represented using the string "&gt;", and must, for
     |      compatibility, be escaped using "&gt;" or a character
     |      reference when it appears in the string "]]>" in content,
     |      when that string is not marking the end of a CDATA section.
     |        [14] CharData ::= [^<&]* - ([^<&]* ']]>' [^<&]*)
     |
     |  parseCharRef(self)
     |      parse Reference declarations  [66] CharRef ::= '&#' [0-9]+
     |      ';' | '&#x' [0-9a-fA-F]+ ';'  [ WFC: Legal Character ]
     |      Characters referred to using character references must
     |       match the production for Char.
     |
     |  parseChunk(self, chunk, size, terminate)
     |      Parse a Chunk of memory
     |
     |  parseComment(self)
     |      Skip an XML (SGML) comment <!-- .... --> The spec says that
     |      "For compatibility, the string "--" (double-hyphen) must
     |      not occur within comments. "  [15] Comment ::= '<!--'
     |       ((Char - '-') | ('-' (Char - '-')))* '-->'
     |
     |  parseContent(self)
     |      Parse a content sequence. Stops at EOF or '</'.  [43]
     |      content ::= (element | CharData | Reference | CDSect | PI |
     |       Comment)*
     |
     |  parseDocTypeDecl(self)
     |      parse a DOCTYPE declaration  [28] doctypedecl ::=
     |      '<!DOCTYPE' S Name (S ExternalID)? S? ('[' (markupdecl |
     |      PEReference | S)* ']' S?)? '>'  [ VC: Root Element Type ]
     |      The Name in the document type declaration must match the
     |       element type of the root element.
     |
     |  parseDocument(self)
     |      parse an XML document (and build a tree if using the
     |      standard SAX interface).  [1] document ::= prolog element
     |       Misc*  [22] prolog ::= XMLDecl? Misc* (doctypedecl Misc*)?
     |
     |  parseElement(self)
     |      parse an XML element  [39] element ::= EmptyElemTag | STag
     |      content ETag  [ WFC: Element Type Match ] The Name in an
     |      element's end-tag must match the element type in the
     |       start-tag.
     |
     |  parseElementDecl(self)
     |      parse an Element declaration.  [45] elementdecl ::=
     |      '<!ELEMENT' S Name S contentspec S? '>'  [ VC: Unique
     |      Element Type Declaration ] No element type may be declared
     |       more than once
     |
     |  parseEncName(self)
     |      parse the XML encoding name  [81] EncName ::= [A-Za-z]
     |      ([A-Za-z0-9._] | '-')*
     |
     |  parseEncodingDecl(self)
     |      parse the XML encoding declaration  [80] EncodingDecl ::= S
     |      'encoding' Eq ('"' EncName '"' |  "'" EncName "'")  this
     |       setups the conversion filters.
     |
     |  parseEndTag(self)
     |      parse an end of tag  [42] ETag ::= '</' Name S? '>'  With
     |      namespace  [NS 9] ETag ::= '</' QName S? '>'
     |
     |  parseEntityDecl(self)
     |      parse <!ENTITY declarations  [70] EntityDecl ::= GEDecl |
     |      PEDecl  [71] GEDecl ::= '<!ENTITY' S Name S EntityDef S?
     |      '>'  [72] PEDecl ::= '<!ENTITY' S '%' S Name S PEDef S? '>'
     |      [73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)
     |      [74] PEDef ::= EntityValue | ExternalID  [76] NDataDecl ::=
     |      S 'NDATA' S Name  [ VC: Notation Declared ] The Name must
     |       match the declared name of a notation.
     |
     |  parseEntityRef(self)
     |      parse ENTITY references declarations  [68] EntityRef ::=
     |      '&' Name ';'  [ WFC: Entity Declared ] In a document
     |      without any DTD, a document with only an internal DTD
     |      subset which contains no parameter entity references, or a
     |      document with "standalone='yes'", the Name given in the
     |      entity reference must match that in an entity declaration,
     |      except that well-formed documents need not declare any of
     |      the following entities: amp, lt, gt, apos, quot.  The
     |      declaration of a parameter entity must precede any
     |      reference to it.  Similarly, the declaration of a general
     |      entity must precede any reference to it which appears in a
     |      default value in an attribute-list declaration. Note that
     |      if entities are declared in the external subset or in
     |      external parameter entities, a non-validating processor is
     |      not obligated to read and process their declarations; for
     |      such documents, the rule that an entity must be declared is
     |      a well-formedness constraint only if standalone='yes'.  [
     |      WFC: Parsed Entity ] An entity reference must not contain
     |       the name of an unparsed entity
     |
     |  parseExtParsedEnt(self)
     |      parse a general parsed entity An external general parsed
     |      entity is well-formed if it matches the production labeled
     |       extParsedEnt.  [78] extParsedEnt ::= TextDecl? content
     |
     |  parseExternalSubset(self, ExternalID, SystemID)
     |      parse Markup declarations from an external subset  [30]
     |      extSubset ::= textDecl? extSubsetDecl  [31] extSubsetDecl
     |       ::= (markupdecl | conditionalSect | PEReference | S) *
     |
     |  parseMarkupDecl(self)
     |      parse Markup declarations  [29] markupdecl ::= elementdecl
     |      | AttlistDecl | EntityDecl | NotationDecl | PI | Comment  [
     |      VC: Proper Declaration/PE Nesting ] Parameter-entity
     |      replacement text must be properly nested with markup
     |      declarations. That is to say, if either the first character
     |      or the last character of a markup declaration (markupdecl
     |      above) is contained in the replacement text for a
     |      parameter-entity reference, both must be contained in the
     |      same replacement text.  [ WFC: PEs in Internal Subset ] In
     |      the internal DTD subset, parameter-entity references can
     |      occur only where markup declarations can occur, not within
     |      markup declarations. (This does not apply to references
     |      that occur in external parameter entities or to the
     |       external subset.)
     |
     |  parseMisc(self)
     |      parse an XML Misc* optional field.  [27] Misc ::= Comment |
     |      PI |  S
     |
     |  parseName(self)
     |      parse an XML name.  [4] NameChar ::= Letter | Digit | '.' |
     |      '-' | '_' | ':' | CombiningChar | Extender  [5] Name ::=
     |      (Letter | '_' | ':') (NameChar)*  [6] Names ::= Name (#x20
     |       Name)*
     |
     |  parseNamespace(self)
     |      xmlParseNamespace: parse specific PI '<?namespace ...'
     |      constructs.  This is what the older xml-name Working Draft
     |      specified, a bunch of other stuff may still rely on it, so
     |      support is still here as if it was declared on the root of
     |      the Tree:-(  TODO: remove from library  To be removed at
     |       next drop of binary compatibility
     |
     |  parseNmtoken(self)
     |      parse an XML Nmtoken.  [7] Nmtoken ::= (NameChar)+  [8]
     |      Nmtokens ::= Nmtoken (#x20 Nmtoken)*
     |
     |  parseNotationDecl(self)
     |      parse a notation declaration  [82] NotationDecl ::=
     |      '<!NOTATION' S Name S (ExternalID |  PublicID) S? '>'
     |      Hence there is actually 3 choices: 'PUBLIC' S PubidLiteral
     |      'PUBLIC' S PubidLiteral S SystemLiteral and 'SYSTEM' S
     |       SystemLiteral  See the NOTE on xmlParseExternalID().
     |
     |  parsePEReference(self)
     |      parse PEReference declarations The entity content is
     |      handled directly by pushing it's content as a new input
     |      stream.  [69] PEReference ::= '%' Name ';'  [ WFC: No
     |      Recursion ] A parsed entity must not contain a recursive
     |      reference to itself, either directly or indirectly.  [ WFC:
     |      Entity Declared ] In a document without any DTD, a document
     |      with only an internal DTD subset which contains no
     |      parameter entity references, or a document with
     |      "standalone='yes'", ...  ... The declaration of a parameter
     |      entity must precede any reference to it...  [ VC: Entity
     |      Declared ] In a document with an external subset or
     |      external parameter entities with "standalone='no'", ...
     |      ... The declaration of a parameter entity must precede any
     |      reference to it...  [ WFC: In DTD ] Parameter-entity
     |      references may only appear in the DTD. NOTE: misleading but
     |       this is handled.
     |
     |  parsePI(self)
     |      parse an XML Processing Instruction.  [16] PI ::= '<?'
     |      PITarget (S (Char* - (Char* '?>' Char*)))? '?>'  The
     |       processing is transferred to SAX once parsed.
     |
     |  parsePITarget(self)
     |      parse the name of a PI  [17] PITarget ::= Name - (('X' |
     |      'x') ('M' | 'm') ('L' | 'l'))
     |
     |  parsePubidLiteral(self)
     |      parse an XML public literal  [12] PubidLiteral ::= '"'
     |      PubidChar* '"' | "'" (PubidChar - "'")* "'"
     |
     |  parseQuotedString(self)
     |      Parse and return a string between quotes or doublequotes
     |      TODO: Deprecated, to  be removed at next drop of binary
     |       compatibility
     |
     |  parseReference(self)
     |      parse and handle entity references in content, depending on
     |      the SAX interface, this may end-up in a call to character()
     |      if this is a CharRef, a predefined entity, if there is no
     |      reference() callback. or if the parser was asked to switch
     |       to that mode.  [67] Reference ::= EntityRef | CharRef
     |
     |  parseSDDecl(self)
     |      parse the XML standalone declaration  [32] SDDecl ::= S
     |      'standalone' Eq (("'" ('yes' | 'no') "'") | ('"' ('yes' |
     |      'no')'"'))  [ VC: Standalone Document Declaration ] TODO
     |      The standalone document declaration must have the value
     |      "no" if any external markup declarations contain
     |      declarations of: - attributes with default values, if
     |      elements to which these attributes apply appear in the
     |      document without specifications of values for these
     |      attributes, or - entities (other than amp, lt, gt, apos,
     |      quot), if references to those entities appear in the
     |      document, or - attributes with values subject to
     |      normalization, where the attribute appears in the document
     |      with a value which will change as a result of
     |      normalization, or - element types with element content, if
     |      white space occurs directly within any instance of those
     |       types.
     |
     |  parseStartTag(self)
     |      parse a start of tag either for rule element or
     |      EmptyElement. In both case we don't parse the tag closing
     |      chars.  [40] STag ::= '<' Name (S Attribute)* S? '>'  [
     |      WFC: Unique Att Spec ] No attribute name may appear more
     |      than once in the same start-tag or empty-element tag.  [44]
     |      EmptyElemTag ::= '<' Name (S Attribute)* S? '/>'  [ WFC:
     |      Unique Att Spec ] No attribute name may appear more than
     |      once in the same start-tag or empty-element tag.  With
     |      namespace:  [NS 8] STag ::= '<' QName (S Attribute)* S? '>'
     |        [NS 10] EmptyElement ::= '<' QName (S Attribute)* S? '/>'
     |
     |  parseSystemLiteral(self)
     |      parse an XML Literal  [11] SystemLiteral ::= ('"' [^"]*
     |      '"') | ("'" [^']* "'")
     |
     |  parseTextDecl(self)
     |      parse an XML declaration header for external entities  [77]
     |      TextDecl ::= '<?xml' VersionInfo? EncodingDecl S? '?>'
     |
     |  parseVersionInfo(self)
     |      parse the XML version.  [24] VersionInfo ::= S 'version' Eq
     |      (' VersionNum ' | " VersionNum ")  [25] Eq ::= S? '=' S?
     |
     |  parseVersionNum(self)
     |      parse the XML version value.  [26] VersionNum ::= '1.'
     |      [0-9]+  In practice allow [0-9].[0-9]+ at that level
     |
     |  parseXMLDecl(self)
     |      parse an XML declaration header  [23] XMLDecl ::= '<?xml'
     |      VersionInfo EncodingDecl? SDDecl? S? '?>'
     |
     |  parserHandlePEReference(self)
     |      [69] PEReference ::= '%' Name ';'  [ WFC: No Recursion ] A
     |      parsed entity must not contain a recursive reference to
     |      itself, either directly or indirectly.  [ WFC: Entity
     |      Declared ] In a document without any DTD, a document with
     |      only an internal DTD subset which contains no parameter
     |      entity references, or a document with "standalone='yes'",
     |      ...  ... The declaration of a parameter entity must precede
     |      any reference to it...  [ VC: Entity Declared ] In a
     |      document with an external subset or external parameter
     |      entities with "standalone='no'", ...  ... The declaration
     |      of a parameter entity must precede any reference to it...
     |      [ WFC: In DTD ] Parameter-entity references may only appear
     |      in the DTD. NOTE: misleading but this is handled.  A
     |      PEReference may have been detected in the current input
     |      stream the handling is done accordingly to
     |      http://www.w3.org/TR/REC-xml#entproc i.e. - Included in
     |      literal in entity values - Included as Parameter Entity
     |       reference within DTDs
     |
     |  parserHandleReference(self)
     |      TODO: Remove, now deprecated ... the test is done directly
     |      in the content parsing routines.  [67] Reference ::=
     |      EntityRef | CharRef  [68] EntityRef ::= '&' Name ';'  [
     |      WFC: Entity Declared ] the Name given in the entity
     |      reference must match that in an entity declaration, except
     |      that well-formed documents need not declare any of the
     |      following entities: amp, lt, gt, apos, quot.  [ WFC: Parsed
     |      Entity ] An entity reference must not contain the name of
     |      an unparsed entity  [66] CharRef ::= '&#' [0-9]+ ';' |
     |      '&#x' [0-9a-fA-F]+ ';'  A PEReference may have been
     |      detected in the current input stream the handling is done
     |       accordingly to http://www.w3.org/TR/REC-xml#entproc
     |
     |  pedantic(self, pedantic)
     |      Switch the parser to be pedantic.
     |
     |  popInput(self)
     |      xmlPopInput: the current input pointed by ctxt->input came
     |      to an end pop it and return the next char.
     |
     |  replaceEntities(self, replaceEntities)
     |      Switch the parser to replace entities.
     |
     |  scanName(self)
     |      Trickery: parse an XML name but without consuming the input
     |      flow Needed for rollback cases. Used only when parsing
     |      entities references.  TODO: seems deprecated now, only used
     |      in the default part of xmlParserHandleReference  [4]
     |      NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
     |      CombiningChar | Extender  [5] Name ::= (Letter | '_' | ':')
     |       (NameChar)*  [6] Names ::= Name (S Name)*
     |
     |  setupParserForBuffer(self, buffer, filename)
     |      Setup the parser context to parse a new buffer; Clears any
     |      prior contents from the parser context. The buffer
     |      parameter must not be None, but the filename parameter can
     |       be
     |
     |  skipBlankChars(self)
     |      skip all blanks character found at that point in the input
     |      streams. It pops up finished entities in the process if
     |       allowable at that point.
     |
     |  stopParser(self)
     |      Blocks further parser processing
     |
     |  stringDecodeEntities(self, str, what, end, end2, end3)
     |      Takes a entity string content and process to do the
     |      adequate substitutions.  [67] Reference ::= EntityRef |
     |       CharRef  [69] PEReference ::= '%' Name ';'
     |
     |  stringLenDecodeEntities(self, str, len, what, end, end2, end3)
     |      Takes a entity string content and process to do the
     |      adequate substitutions.  [67] Reference ::= EntityRef |
     |       CharRef  [69] PEReference ::= '%' Name ';'
     |
     |  validate(self, validate)
     |      Switch the parser to validation mode.
     |
     |  wellFormed(self)
     |      Get the well formed information from a parser context.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from parserCtxtCore:
     |
     |  addLocalCatalog(self, uri)
     |      Register a local catalog with the parser
     |
     |  getErrorHandler(self)
     |      Return (f,arg) as previously registered with setErrorHandler
     |      or (None,None).
     |
     |  setErrorHandler(self, f, arg)
     |      Register an error handler that will be called back as
     |      f(arg,msg,severity,reserved).
     |
     |      @reserved is currently always None.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from parserCtxtCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class parserCtxtCore(builtins.object)
     |  parserCtxtCore(_obj=None)
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  addLocalCatalog(self, uri)
     |      Register a local catalog with the parser
     |
     |  getErrorHandler(self)
     |      Return (f,arg) as previously registered with setErrorHandler
     |      or (None,None).
     |
     |  setErrorHandler(self, f, arg)
     |      Register an error handler that will be called back as
     |      f(arg,msg,severity,reserved).
     |
     |      @reserved is currently always None.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class parserError(libxmlError)
     |  parserError(msg)
     |
     |  Method resolution order:
     |      parserError
     |      libxmlError
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, msg)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from libxmlError:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

    class relaxNgParserCtxt(builtins.object)
     |  relaxNgParserCtxt(_obj=None)
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  relaxNGParse(self)
     |      parse a schema definition resource and build an internal
     |      XML Schema structure which can be used to validate
     |       instances.
     |
     |  relaxParserSetFlag(self, flags)
     |      Semi private function used to pass information to a parser
     |      context which are a combination of xmlRelaxNGParserFlag .
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class relaxNgSchema(builtins.object)
     |  relaxNgSchema(_obj=None)
     |
     |  Methods defined here:
     |
     |  RelaxNGSetSchema(self, reader)
     |      Use RelaxNG to validate the document as it is processed.
     |      Activation is only possible before the first Read(). if
     |      @schema is None, then RelaxNG validation is deactivated. @
     |      The @schema should not be freed until the reader is
     |       deallocated or its use has been deactivated.
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  relaxNGDump(self, output)
     |      Dump a RelaxNG structure back
     |
     |  relaxNGDumpTree(self, output)
     |      Dump the transformed RelaxNG tree.
     |
     |  relaxNGNewValidCtxt(self)
     |      Create an XML RelaxNGs validation context based on the
     |      given schema
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class relaxNgValidCtxt(relaxNgValidCtxtCore)
     |  relaxNgValidCtxt(_obj=None)
     |
     |  Method resolution order:
     |      relaxNgValidCtxt
     |      relaxNgValidCtxtCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  RelaxNGValidateCtxt(self, reader, options)
     |      Use RelaxNG schema context to validate the document as it
     |      is processed. Activation is only possible before the first
     |      Read(). If @ctxt is None, then RelaxNG schema validation is
     |       deactivated.
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  relaxNGValidateDoc(self, doc)
     |      Validate a document tree in memory.
     |
     |  relaxNGValidateFullElement(self, doc, elem)
     |      Validate a full subtree when
     |      xmlRelaxNGValidatePushElement() returned 0 and the content
     |       of the node has been expanded.
     |
     |  relaxNGValidatePopElement(self, doc, elem)
     |      Pop the element end from the RelaxNG validation stack.
     |
     |  relaxNGValidatePushCData(self, data, len)
     |      check the CData parsed for validation in the current stack
     |
     |  relaxNGValidatePushElement(self, doc, elem)
     |      Push a new element start on the RelaxNG validation stack.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from relaxNgValidCtxtCore:
     |
     |  setValidityErrorHandler(self, err_func, warn_func, arg=None)
     |      Register error and warning handlers for RelaxNG validation.
     |      These will be called back as f(msg,arg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from relaxNgValidCtxtCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class relaxNgValidCtxtCore(builtins.object)
     |  relaxNgValidCtxtCore(*args, **kw)
     |
     |  Methods defined here:
     |
     |  __init__(self, *args, **kw)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  setValidityErrorHandler(self, err_func, warn_func, arg=None)
     |      Register error and warning handlers for RelaxNG validation.
     |      These will be called back as f(msg,arg)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class treeError(libxmlError)
     |  treeError(msg)
     |
     |  # Errors raised by the wrappers when some tree handling failed.
     |
     |  Method resolution order:
     |      treeError
     |      libxmlError
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, msg)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from libxmlError:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

    class uriError(libxmlError)
     |  uriError(msg)
     |
     |  Method resolution order:
     |      uriError
     |      libxmlError
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, msg)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from libxmlError:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

    class xmlAttr(xmlNode)
     |  xmlAttr(_obj=None)
     |
     |  Method resolution order:
     |      xmlAttr
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  copyProp(self, target)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, target)
     |      Do a copy of an attribute list.
     |
     |  debugDumpAttr(self, output, depth)
     |      Dumps debug information for the attribute
     |
     |  debugDumpAttrList(self, output, depth)
     |      Dumps debug information for the attribute list
     |
     |  freeProp(self)
     |      Free one attribute, all the content is freed too
     |
     |  freePropList(self)
     |      Free a property and all its siblings, all the children are
     |      freed too.
     |
     |  removeID(self, doc)
     |      Remove the given attribute from the ID table maintained
     |      internally.
     |
     |  removeProp(self)
     |      Unlink and free one attribute, all the content is freed too
     |      Note this doesn't work for namespace definition attributes
     |
     |  removeRef(self, doc)
     |      Remove the given attribute from the Ref table maintained
     |      internally.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlAttribute(xmlNode)
     |  xmlAttribute(_obj=None)
     |
     |  Method resolution order:
     |      xmlAttribute
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlCore(builtins.object)
     |  xmlCore(_obj=None)
     |
     |  # This class is the ancestor of all the Node classes. It provides
     |  # the basic functionalities shared by all nodes (and handle
     |  # gracefylly the exception), like name, navigation in the tree,
     |  # doc reference, content access and serializing to a string or URI
     |
     |  Methods defined here:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  getContent = get_content(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties defined here:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes defined here:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlCoreBreadthFirstItertor(builtins.object)
     |  xmlCoreBreadthFirstItertor(node)
     |
     |  # implements the breadth-first iterator for libxml2 DOM tree
     |
     |  Methods defined here:
     |
     |  __init__(self, node)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __iter__(self)
     |
     |  __next__(self)
     |
     |  next = __next__(self)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xmlCoreDepthFirstItertor(builtins.object)
     |  xmlCoreDepthFirstItertor(node)
     |
     |  # implements the depth-first iterator for libxml2 DOM tree
     |
     |  Methods defined here:
     |
     |  __init__(self, node)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __iter__(self)
     |
     |  __next__(self)
     |
     |  next = __next__(self)
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xmlDoc(xmlNode)
     |  xmlDoc(_obj=None)
     |
     |  Method resolution order:
     |      xmlDoc
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  ID(self, ID)
     |      Search the attribute declaring the given ID
     |
     |  NewWalker(self, reader)
     |      Setup an xmltextReader to parse a preparsed XML document.
     |      This reuses the existing @reader xmlTextReader.
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  addDocEntity(self, name, type, ExternalID, SystemID, content)
     |      Register a new entity for this document.
     |
     |  addDtdEntity(self, name, type, ExternalID, SystemID, content)
     |      Register a new entity for this document DTD external subset.
     |
     |  copyDoc(self, recursive)
     |      Do a copy of the document info. If recursive, the content
     |      tree will be copied too as well as DTD, namespaces and
     |       entities.
     |
     |  copyNode(self, node, extended)
     |      Do a copy of the node to a given document.
     |
     |  copyNodeList(self, node)
     |      Do a recursive copy of the node list.
     |
     |  createIntSubset(self, name, ExternalID, SystemID)
     |      Create the internal subset of a document
     |
     |  debugCheckDocument(self, output)
     |      Check the document for potential content problems, and
     |      output the errors to @output
     |
     |  debugDumpDocument(self, output)
     |      Dumps debug information for the document, it's recursive
     |
     |  debugDumpDocumentHead(self, output)
     |      Dumps debug information concerning the document, not
     |      recursive
     |
     |  debugDumpEntities(self, output)
     |      Dumps debug information for all the entities in use by the
     |      document
     |
     |  docCompressMode(self)
     |      get the compression ratio for a document, ZLIB based
     |
     |  docEntity(self, name)
     |      Do an entity lookup in the document entity hash table and
     |
     |  dtdEntity(self, name)
     |      Do an entity lookup in the DTD entity hash table and
     |
     |  dump(self, f)
     |      Dump an XML document to an open FILE.
     |
     |  elemDump(self, f, cur)
     |      Dump an XML/HTML node, recursive behaviour, children are
     |      printed too.
     |
     |  encodeEntities(self, input)
     |      TODO: remove xmlEncodeEntities, once we are not afraid of
     |      breaking binary compatibility  People must migrate their
     |      code to xmlEncodeEntitiesReentrant ! This routine will
     |       issue a warning when encountered.
     |
     |  encodeEntitiesReentrant(self, input)
     |      Do a global encoding of a string, replacing the predefined
     |      entities and non ASCII values with their entities and
     |      CharRef counterparts. Contrary to xmlEncodeEntities, this
     |       routine is reentrant, and result must be deallocated.
     |
     |  encodeSpecialChars(self, input)
     |      Do a global encoding of a string, replacing the predefined
     |      entities this routine is reentrant, and result must be
     |       deallocated.
     |
     |  formatDump(self, f, format)
     |      Dump an XML document to an open FILE.
     |
     |  freeDoc(self)
     |      Free up all the structures used by a document, tree
     |      included.
     |
     |  getRootElement(self)
     |      Get the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  htmlAutoCloseTag(self, name, elem)
     |      The HTML DTD allows a tag to implicitly close other tags.
     |      The list is kept in htmlStartClose array. This function
     |      checks if the element or one of it's children would
     |       autoclose the given tag.
     |
     |  htmlDocContentDumpFormatOutput(self, buf, encoding, format)
     |      Dump an HTML document.
     |
     |  htmlDocContentDumpOutput(self, buf, encoding)
     |      Dump an HTML document. Formatting return/spaces are added.
     |
     |  htmlDocDump(self, f)
     |      Dump an HTML document to an open FILE.
     |
     |  htmlGetMetaEncoding(self)
     |      Encoding definition lookup in the Meta tags
     |
     |  htmlIsAutoClosed(self, elem)
     |      The HTML DTD allows a tag to implicitly close other tags.
     |      The list is kept in htmlStartClose array. This function
     |       checks if a tag is autoclosed by one of it's child
     |
     |  htmlNodeDumpFile(self, out, cur)
     |      Dump an HTML node, recursive behaviour,children are printed
     |      too, and formatting returns are added.
     |
     |  htmlNodeDumpFileFormat(self, out, cur, encoding, format)
     |      Dump an HTML node, recursive behaviour,children are printed
     |      too.  TODO: if encoding == None try to save in the doc
     |       encoding
     |
     |  htmlNodeDumpFormatOutput(self, buf, cur, encoding, format)
     |      Dump an HTML node, recursive behaviour,children are printed
     |      too.
     |
     |  htmlNodeDumpOutput(self, buf, cur, encoding)
     |      Dump an HTML node, recursive behaviour,children are printed
     |      too, and formatting returns/spaces are added.
     |
     |  htmlSaveFile(self, filename)
     |      Dump an HTML document to a file. If @filename is "-" the
     |      stdout file is used.
     |
     |  htmlSaveFileEnc(self, filename, encoding)
     |      Dump an HTML document to a file using a given encoding and
     |      formatting returns/spaces are added.
     |
     |  htmlSaveFileFormat(self, filename, encoding, format)
     |      Dump an HTML document to a file using a given encoding.
     |
     |  htmlSetMetaEncoding(self, encoding)
     |      Sets the current encoding in the Meta tags NOTE: this will
     |      not change the document content encoding, just the META
     |       flag associated.
     |
     |  intSubset(self)
     |      Get the internal subset of a document
     |
     |  isID(self, elem, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isMixedElement(self, name)
     |      Search in the DtDs whether an element accept Mixed content
     |      (or ANY) basically if it is supposed to accept text childs
     |
     |  isRef(self, elem, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  newCDataBlock(self, content, len)
     |      Creation of a new node containing a CDATA block.
     |
     |  newCharRef(self, name)
     |      Creation of a new character reference node.
     |
     |  newDocComment(self, content)
     |      Creation of a new node containing a comment within a
     |      document.
     |
     |  newDocFragment(self)
     |      Creation of a new Fragment node.
     |
     |  newDocNode(self, ns, name, content)
     |      Creation of a new node element within a document. @ns and
     |      @content are optional (None). NOTE: @content is supposed to
     |      be a piece of XML CDATA, so it allow entities references,
     |      but XML special chars need to be escaped first by using
     |      xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
     |       don't need entities support.
     |
     |  newDocNodeEatName(self, ns, name, content)
     |      Creation of a new node element within a document. @ns and
     |      @content are optional (None). NOTE: @content is supposed to
     |      be a piece of XML CDATA, so it allow entities references,
     |      but XML special chars need to be escaped first by using
     |      xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
     |       don't need entities support.
     |
     |  newDocPI(self, name, content)
     |      Creation of a processing instruction element.
     |
     |  newDocProp(self, name, value)
     |      Create a new property carried by a document. NOTE: @value
     |      is supposed to be a piece of XML CDATA, so it allows entity
     |      references, but XML special chars need to be escaped first
     |      by using xmlEncodeEntitiesReentrant(). Use xmlNewProp() if
     |       you don't need entities support.
     |
     |  newDocRawNode(self, ns, name, content)
     |      Creation of a new node element within a document. @ns and
     |      @content are optional (None).
     |
     |  newDocText(self, content)
     |      Creation of a new text node within a document.
     |
     |  newDocTextLen(self, content, len)
     |      Creation of a new text node with an extra content length
     |      parameter. The text node pertain to a given document.
     |
     |  newDtd(self, name, ExternalID, SystemID)
     |      Creation of a new DTD for the external subset. To create an
     |      internal subset, use xmlCreateIntSubset().
     |
     |  newEntity(self, name, type, ExternalID, SystemID, content)
     |      Create a new entity, this differs from xmlAddDocEntity()
     |      that if the document is None or has no internal subset
     |      defined, then an unlinked entity structure will be
     |      returned, it is then the responsibility of the caller to
     |      link it to the document later or free it when not needed
     |       anymore.
     |
     |  newGlobalNs(self, href, prefix)
     |      Creation of a Namespace, the old way using PI and without
     |      scoping DEPRECATED !!!
     |
     |  newReference(self, name)
     |      Creation of a new reference node.
     |
     |  nodeDumpOutput(self, buf, cur, level, format, encoding)
     |      Dump an XML node, recursive behaviour, children are printed
     |      too. Note that @format = 1 provide node indenting only if
     |      xmlIndentTreeOutput = 1 or xmlKeepBlanksDefault(0) was
     |       called
     |
     |  nodeGetBase(self, cur)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  nodeListGetRawString(self, list, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  nodeListGetString(self, list, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  parameterEntity(self, name)
     |      Do an entity lookup in the internal and external subsets and
     |
     |  readerWalker(self)
     |      Create an xmltextReader for a preparsed document.
     |
     |  reconciliateNs(self, tree)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  relaxNGNewDocParserCtxt(self)
     |      Create an XML RelaxNGs parser context for that document.
     |      Note: since the process of compiling a RelaxNG schemas
     |      modifies the document, the @doc parameter is duplicated
     |       internally.
     |
     |  relaxNGValidateDoc(self, ctxt)
     |      Validate a document tree in memory.
     |
     |  relaxNGValidateFullElement(self, ctxt, elem)
     |      Validate a full subtree when
     |      xmlRelaxNGValidatePushElement() returned 0 and the content
     |       of the node has been expanded.
     |
     |  relaxNGValidatePopElement(self, ctxt, elem)
     |      Pop the element end from the RelaxNG validation stack.
     |
     |  relaxNGValidatePushElement(self, ctxt, elem)
     |      Push a new element start on the RelaxNG validation stack.
     |
     |  removeID(self, attr)
     |      Remove the given attribute from the ID table maintained
     |      internally.
     |
     |  removeRef(self, attr)
     |      Remove the given attribute from the Ref table maintained
     |      internally.
     |
     |  saveFile(self, filename)
     |      Dump an XML document to a file. Will use compression if
     |      compiled in and enabled. If @filename is "-" the stdout
     |       file is used.
     |
     |  saveFileEnc(self, filename, encoding)
     |      Dump an XML document, converting it to the given encoding
     |
     |  saveFileTo(self, buf, encoding)
     |      Dump an XML document to an I/O buffer. Warning ! This call
     |      xmlOutputBufferClose() on buf which is not available after
     |       this call.
     |
     |  saveFormatFile(self, filename, format)
     |      Dump an XML document to a file. Will use compression if
     |      compiled in and enabled. If @filename is "-" the stdout
     |      file is used. If @format is set then the document will be
     |      indented on output. Note that @format = 1 provide node
     |      indenting only if xmlIndentTreeOutput = 1 or
     |       xmlKeepBlanksDefault(0) was called
     |
     |  saveFormatFileEnc(self, filename, encoding, format)
     |      Dump an XML document to a file or an URL.
     |
     |  saveFormatFileTo(self, buf, encoding, format)
     |      Dump an XML document to an I/O buffer. Warning ! This call
     |      xmlOutputBufferClose() on buf which is not available after
     |       this call.
     |
     |  schemaNewDocParserCtxt(self)
     |      Create an XML Schemas parse context for that document. NB.
     |      The document may be modified during the parsing process.
     |
     |  schemaValidateDoc(self, ctxt)
     |      Validate a document tree in memory.
     |
     |  searchNs(self, node, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, node, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setDocCompressMode(self, mode)
     |      set the compression ratio for a document, ZLIB based
     |      Correct values: 0 (uncompressed) to 9 (max compression)
     |
     |  setListDoc(self, list)
     |      update all nodes in the list to point to the right document
     |
     |  setRootElement(self, root)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  setTreeDoc(self, tree)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  stringGetNodeList(self, value)
     |      Parse the value string and build the node list associated.
     |      Should produce a flat tree with only TEXTs and ENTITY_REFs.
     |
     |  stringLenGetNodeList(self, value, len)
     |      Parse the value string and build the node list associated.
     |      Should produce a flat tree with only TEXTs and ENTITY_REFs.
     |
     |  validCtxtNormalizeAttributeValue(self, ctxt, elem, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |      space (#x20) characters by single space (#x20) character.
     |      Also  check VC: Standalone Document Declaration in P32, and
     |       update ctxt->valid accordingly
     |
     |  validNormalizeAttributeValue(self, elem, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  validateDocument(self, ctxt)
     |      Try to validate the document instance  basically it does
     |      the all the checks described by the XML Rec i.e. validates
     |      the internal and external subset (if present) and validate
     |       the document tree.
     |
     |  validateDocumentFinal(self, ctxt)
     |      Does the final step for the document validation once all
     |      the incremental validation steps have been completed
     |      basically it does the following checks described by the XML
     |      Rec  Check all the IDREF/IDREFS attributes definition for
     |       validity
     |
     |  validateDtd(self, ctxt, dtd)
     |      Try to validate the document against the dtd instance
     |      Basically it does check all the definitions in the DtD.
     |      Note the the internal subset (if present) is de-coupled
     |      (i.e. not used), which could give problems if ID or IDREF
     |       is present.
     |
     |  validateDtdFinal(self, ctxt)
     |      Does the final step for the dtds validation once all the
     |      subsets have been parsed  basically it does the following
     |      checks described by the XML Rec - check that ENTITY and
     |      ENTITIES type attributes default or possible values matches
     |      one of the defined entities. - check that NOTATION type
     |      attributes default or possible values matches one of the
     |       defined notations.
     |
     |  validateElement(self, ctxt, elem)
     |      Try to validate the subtree under an element
     |
     |  validateNotationUse(self, ctxt, notationName)
     |      Validate that the given name match a notation declaration.
     |      - [ VC: Notation Declared ]
     |
     |  validateOneAttribute(self, ctxt, elem, attr, value)
     |      Try to validate a single attribute for an element basically
     |      it does the following checks as described by the XML-1.0
     |      recommendation: - [ VC: Attribute Value Type ] - [ VC:
     |      Fixed Attribute Default ] - [ VC: Entity Name ] - [ VC:
     |      Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC: Entity
     |      Name ] - [ VC: Notation Attributes ]  The ID/IDREF
     |       uniqueness and matching are done separately
     |
     |  validateOneElement(self, ctxt, elem)
     |      Try to validate a single element and it's attributes,
     |      basically it does the following checks as described by the
     |      XML-1.0 recommendation: - [ VC: Element Valid ] - [ VC:
     |      Required Attribute ] Then call xmlValidateOneAttribute()
     |      for each attribute present.  The ID/IDREF checkings are
     |       done separately
     |
     |  validateOneNamespace(self, ctxt, elem, prefix, ns, value)
     |      Try to validate a single namespace declaration for an
     |      element basically it does the following checks as described
     |      by the XML-1.0 recommendation: - [ VC: Attribute Value Type
     |      ] - [ VC: Fixed Attribute Default ] - [ VC: Entity Name ] -
     |      [ VC: Name Token ] - [ VC: ID ] - [ VC: IDREF ] - [ VC:
     |      Entity Name ] - [ VC: Notation Attributes ]  The ID/IDREF
     |       uniqueness and matching are done separately
     |
     |  validatePopElement(self, ctxt, elem, qname)
     |      Pop the element end from the validation stack.
     |
     |  validatePushElement(self, ctxt, elem, qname)
     |      Push a new element start on the validation stack.
     |
     |  validateRoot(self, ctxt)
     |      Try to validate a the root element basically it does the
     |      following check as described by the XML-1.0 recommendation:
     |      - [ VC: Root Element Type ] it doesn't try to recurse or
     |       apply other check to the element
     |
     |  xincludeProcess(self)
     |      Implement the XInclude substitution on the XML document @doc
     |
     |  xincludeProcessFlags(self, flags)
     |      Implement the XInclude substitution on the XML document @doc
     |
     |  xpathNewContext(self)
     |      Create a new xmlXPathContext
     |
     |  xpathOrderDocElems(self)
     |      Call this routine to speed up XPath computation on static
     |      documents. This stamps all the element nodes with the
     |      document order Like for line information, the order is kept
     |      in the element->content field, the value stored is actually
     |      - the node number (starting at -1) to be able to
     |       differentiate from line numbers.
     |
     |  xpointerNewContext(self, here, origin)
     |      Create a new XPointer context
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlDtd(xmlNode)
     |  xmlDtd(_obj=None)
     |
     |  Method resolution order:
     |      xmlDtd
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  copyDtd(self)
     |      Do a copy of the dtd.
     |
     |  debugDumpDTD(self, output)
     |      Dumps debug information for the DTD
     |
     |  dtdAttrDesc(self, elem, name)
     |      Search the DTD for the description of this attribute on
     |      this element.
     |
     |  dtdElementDesc(self, name)
     |      Search the DTD for the description of this element
     |
     |  dtdQAttrDesc(self, elem, name, prefix)
     |      Search the DTD for the description of this qualified
     |      attribute on this element.
     |
     |  dtdQElementDesc(self, name, prefix)
     |      Search the DTD for the description of this element
     |
     |  freeDtd(self)
     |      Free a DTD structure.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlElement(xmlNode)
     |  xmlElement(_obj=None)
     |
     |  Method resolution order:
     |      xmlElement
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlEntity(xmlNode)
     |  xmlEntity(_obj=None)
     |
     |  Method resolution order:
     |      xmlEntity
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  handleEntity(self, ctxt)
     |      Default handling of defined entities, when should we define
     |      a new input stream ? When do we just handle that as a set
     |       of chars ?  OBSOLETE: to be removed at some point.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlNode(xmlCore)
     |  xmlNode(_obj=None)
     |
     |  Method resolution order:
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newNsProp(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, ns, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  newTextChild(self, ns, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setNs(self, ns)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, ns, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetNsProp(self, ns, name)
     |      Remove an attribute carried by a node.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlNs(xmlNode)
     |  xmlNs(_obj=None)
     |
     |  Method resolution order:
     |      xmlNs
     |      xmlNode
     |      xmlCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __repr__(self)
     |      Return repr(self).
     |
     |  copyNamespace(self)
     |      Do a copy of the namespace.
     |
     |  copyNamespaceList(self)
     |      Do a copy of an namespace list.
     |
     |  freeNs(self)
     |      Free up the structures associated to a namespace
     |
     |  freeNsList(self)
     |      Free up all the structures associated to the chained
     |      namespaces.
     |
     |  newChild(self, parent, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child list containing the TEXTs and ENTITY_REFs node will
     |      be created. NOTE: @content is supposed to be a piece of XML
     |      CDATA, so it allows entity references. XML special chars
     |      must be escaped first by using
     |      xmlEncodeEntitiesReentrant(), or xmlNewTextChild() should
     |       be used.
     |
     |  newDocNode(self, doc, name, content)
     |      Creation of a new node element within a document. @ns and
     |      @content are optional (None). NOTE: @content is supposed to
     |      be a piece of XML CDATA, so it allow entities references,
     |      but XML special chars need to be escaped first by using
     |      xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
     |       don't need entities support.
     |
     |  newDocNodeEatName(self, doc, name, content)
     |      Creation of a new node element within a document. @ns and
     |      @content are optional (None). NOTE: @content is supposed to
     |      be a piece of XML CDATA, so it allow entities references,
     |      but XML special chars need to be escaped first by using
     |      xmlEncodeEntitiesReentrant(). Use xmlNewDocRawNode() if you
     |       don't need entities support.
     |
     |  newDocRawNode(self, doc, name, content)
     |      Creation of a new node element within a document. @ns and
     |      @content are optional (None).
     |
     |  newNodeEatName(self, name)
     |      Creation of a new node element. @ns is optional (None).
     |
     |  newNsProp(self, node, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newNsPropEatName(self, node, name, value)
     |      Create a new property tagged with a namespace and carried
     |      by a node.
     |
     |  newTextChild(self, parent, name, content)
     |      Creation of a new child element, added at the end of
     |      @parent children list. @ns and @content parameters are
     |      optional (None). If @ns is None, the newly created element
     |      inherits the namespace of @parent. If @content is non None,
     |      a child TEXT node will be created containing the string
     |      @content. NOTE: Use xmlNewChild() if @content will contain
     |      entities that need to be preserved. Use this function,
     |      xmlNewTextChild(), if you need to ensure that reserved XML
     |      chars that might appear in @content, such as the ampersand,
     |      greater-than or less-than signs, are automatically replaced
     |       by their XML escaped entity representations.
     |
     |  setNs(self, node)
     |      Associate a namespace to a node, a posteriori.
     |
     |  setNsProp(self, node, name, value)
     |      Set (or reset) an attribute carried by a node. The ns
     |      structure must be in scope, this is not checked
     |
     |  unsetNsProp(self, node, name)
     |      Remove an attribute carried by a node.
     |
     |  xpathNodeSetFreeNs(self)
     |      Namespace nodes in libxml don't match the XPath semantic.
     |      In a node set the namespace nodes are duplicated and the
     |      next pointer is set to the parent node in the XPath
     |       semantic. Check if such a node needs to be freed
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlNode:
     |
     |  addChild(self, cur)
     |      Add a new node to @parent, at the end of the child (or
     |      property) list merging adjacent TEXT nodes (in which case
     |      @cur is freed) If the new node is ATTRIBUTE, it is added
     |      into properties instead of children. If there is an
     |       attribute with equal name, it is first destroyed.
     |
     |  addChildList(self, cur)
     |      Add a list of node at the end of the child list of the
     |      parent merging adjacent TEXT nodes (@cur may be freed)
     |
     |  addContent(self, content)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContent(), @content is supposed to be
     |      raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addContentLen(self, content, len)
     |      Append the extra substring to the node content. NOTE: In
     |      contrast to xmlNodeSetContentLen(), @content is supposed to
     |      be raw text, so unescaped XML special chars are allowed,
     |       entity references are not supported.
     |
     |  addNextSibling(self, elem)
     |      Add a new node @elem as the next sibling of @cur If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. As a result of text
     |      merging @elem may be freed. If the new node is ATTRIBUTE,
     |      it is added into properties instead of children. If there
     |       is an attribute with equal name, it is first destroyed.
     |
     |  addPrevSibling(self, elem)
     |      Add a new node @elem as the previous sibling of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      node was already inserted in a document it is first
     |      unlinked from its existing context. If the new node is
     |      ATTRIBUTE, it is added into properties instead of children.
     |      If there is an attribute with equal name, it is first
     |       destroyed.
     |
     |  addSibling(self, elem)
     |      Add a new element @elem to the list of siblings of @cur
     |      merging adjacent TEXT nodes (@elem may be freed) If the new
     |      element was already inserted in a document it is first
     |       unlinked from its existing context.
     |
     |  copyNode(self, extended)
     |      Do a copy of the node.
     |
     |  copyNodeList(self)
     |      Do a recursive copy of the node list. Use
     |      xmlDocCopyNodeList() if possible to ensure string interning.
     |
     |  copyProp(self, cur)
     |      Do a copy of the attribute.
     |
     |  copyPropList(self, cur)
     |      Do a copy of an attribute list.
     |
     |  debugDumpNode(self, output, depth)
     |      Dumps debug information for the element node, it is
     |      recursive
     |
     |  debugDumpNodeList(self, output, depth)
     |      Dumps debug information for the list of element node, it is
     |      recursive
     |
     |  debugDumpOneNode(self, output, depth)
     |      Dumps debug information for the element node, it is not
     |      recursive
     |
     |  docCopyNode(self, doc, extended)
     |      Do a copy of the node to a given document.
     |
     |  docCopyNodeList(self, doc)
     |      Do a recursive copy of the node list.
     |
     |  docSetRootElement(self, doc)
     |      Set the root element of the document (doc->children is a
     |      list containing possibly comments, PIs, etc ...).
     |
     |  firstElementChild(self)
     |      Finds the first child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  freeNode(self)
     |      Free a node, this is a recursive behaviour, all the
     |      children are freed too. This doesn't unlink the child from
     |       the list, use xmlUnlinkNode() first.
     |
     |  freeNodeList(self)
     |      Free a node and all its siblings, this is a recursive
     |      behaviour, all the children are freed too.
     |
     |  getBase(self, doc)
     |      Searches for the BASE URL. The code should work on both XML
     |      and HTML document even if base mechanisms are completely
     |      different. It returns the base as defined in RFC 2396
     |      sections 5.1.1. Base URI within Document Content and 5.1.2.
     |      Base URI from the Encapsulating Entity However it does not
     |       return the document base (5.1.3), use doc->URL in this case
     |
     |  getContent(self)
     |      Read the value of a node, this can be either the text
     |      carried directly by this node if it's a TEXT node or the
     |      aggregate string of the values carried by this node child's
     |       (TEXT and ENTITY_REF). Entity references are substituted.
     |
     |  getLang(self)
     |      Searches the language of a node, i.e. the values of the
     |      xml:lang attribute or the one carried by the nearest
     |       ancestor.
     |
     |  getSpacePreserve(self)
     |      Searches the space preserving behaviour of a node, i.e. the
     |      values of the xml:space attribute or the one carried by the
     |       nearest ancestor.
     |
     |  hasNsProp(self, name, nameSpace)
     |      Search for an attribute associated to a node This attribute
     |      has to be anchored in the namespace specified. This does
     |      the entity substitution. This function looks in DTD
     |      attribute declaration for #FIXED or default declaration
     |      values unless DTD use has been turned off. Note that a
     |       namespace of None indicates to use the default namespace.
     |
     |  hasProp(self, name)
     |      Search an attribute associated to a node This function also
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  isBlankNode(self)
     |      Checks whether this node is an empty or whitespace only
     |      (and possibly ignorable) text-node.
     |
     |  isID(self, doc, attr)
     |      Determine whether an attribute is of type ID. In case we
     |      have DTD(s) then this is done if DTD loading has been
     |      requested. In the case of HTML documents parsed with the
     |       HTML parser, then ID detection is done systematically.
     |
     |  isRef(self, doc, attr)
     |      Determine whether an attribute is of type Ref. In case we
     |      have DTD(s) then this is simple, otherwise we use an
     |       heuristic: name Ref (upper or lowercase).
     |
     |  isText(self)
     |      Is this node a Text node ?
     |
     |  lastChild(self)
     |      Search the last child of a node.
     |
     |  lastElementChild(self)
     |      Finds the last child node of that element which is a
     |      Element node Note the handling of entities references is
     |      different than in the W3C DOM element traversal spec since
     |      we don't have back reference from entities content to
     |       entities references.
     |
     |  lineNo(self)
     |      Get line number of @node. Try to override the limitation of
     |      lines being store in 16 bits ints if XML_PARSE_BIG_LINES
     |       parser option was used
     |
     |  listGetRawString(self, doc, inLine)
     |      Builds the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs, contrary to
     |      xmlNodeListGetString() this function doesn't do any
     |       character encoding handling.
     |
     |  listGetString(self, doc, inLine)
     |      Build the string equivalent to the text contained in the
     |      Node list made of TEXTs and ENTITY_REFs
     |
     |  lsCountNode(self)
     |      Count the children of @node.
     |
     |  lsOneNode(self, output)
     |      Dump to @output the type and name of @node.
     |
     |  newNs(self, href, prefix)
     |      Creation of a new Namespace. This function will refuse to
     |      create a namespace with a similar prefix than an existing
     |      one present on this node. Note that for a default
     |      namespace, @prefix should be None.  We use href==None in
     |      the case of an element creation where the namespace was not
     |       defined.
     |
     |  newProp(self, name, value)
     |      Create a new property carried by a node.
     |
     |  nextElementSibling(self)
     |      Finds the first closest next sibling of the node which is
     |      an element node. Note the handling of entities references
     |      is different than in the W3C DOM element traversal spec
     |      since we don't have back reference from entities content to
     |       entities references.
     |
     |  noNsProp(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off. This
     |      function is similar to xmlGetProp except it will accept
     |       only an attribute in no namespace.
     |
     |  nodePath(self)
     |      Build a structure based Path for the given node
     |
     |  ns(self)
     |      Get the namespace of a node
     |
     |  nsDefs(self)
     |      Get the namespace of a node
     |
     |  nsProp(self, name, nameSpace)
     |      Search and get the value of an attribute associated to a
     |      node This attribute has to be anchored in the namespace
     |      specified. This does the entity substitution. This function
     |      looks in DTD attribute declaration for #FIXED or default
     |       declaration values unless DTD use has been turned off.
     |
     |  previousElementSibling(self)
     |      Finds the first closest previous sibling of the node which
     |      is an element node. Note the handling of entities
     |      references is different than in the W3C DOM element
     |      traversal spec since we don't have back reference from
     |       entities content to entities references.
     |
     |  prop(self, name)
     |      Search and get the value of an attribute associated to a
     |      node This does the entity substitution. This function looks
     |      in DTD attribute declaration for #FIXED or default
     |      declaration values unless DTD use has been turned off.
     |      NOTE: this function acts independently of namespaces
     |      associated to the attribute. Use xmlGetNsProp() or
     |       xmlGetNoNsProp() for namespace aware processing.
     |
     |  reconciliateNs(self, doc)
     |      This function checks that all the namespaces declared
     |      within the given tree are properly declared. This is needed
     |      for example after Copy or Cut and then paste operations.
     |      The subtree may still hold pointers to namespace
     |      declarations outside the subtree or invalid/masked. As much
     |      as possible the function try to reuse the existing
     |      namespaces found in the new environment. If not possible
     |      the new namespaces are redeclared on @tree at the top of
     |       the given subtree.
     |
     |  replaceNode(self, cur)
     |      Unlink the old node from its current context, prune the new
     |      one at the same place. If @cur was already inserted in a
     |       document it is first unlinked from its existing context.
     |
     |  schemaValidateOneElement(self, ctxt)
     |      Validate a branch of a tree, starting with the given @elem.
     |
     |  searchNs(self, doc, nameSpace)
     |      Search a Ns registered under a given name space for a
     |      document. recurse on the parents until it finds the defined
     |      namespace or return None otherwise. @nameSpace can be None,
     |      this is a search for the default namespace. We don't allow
     |      to cross entities boundaries. If you don't declare the
     |      namespace within those you will be in troubles !!! A
     |       warning is generated to cover this case.
     |
     |  searchNsByHref(self, doc, href)
     |      Search a Ns aliasing a given URI. Recurse on the parents
     |      until it finds the defined namespace or return None
     |       otherwise.
     |
     |  setBase(self, uri)
     |      Set (or reset) the base URI of a node, i.e. the value of
     |      the xml:base attribute.
     |
     |  setContent(self, content)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setContentLen(self, content, len)
     |      Replace the content of a node. NOTE: @content is supposed
     |      to be a piece of XML CDATA, so it allows entity references,
     |      but XML special chars need to be escaped first by using
     |       xmlEncodeEntitiesReentrant() resp. xmlEncodeSpecialChars().
     |
     |  setLang(self, lang)
     |      Set the language of a node, i.e. the values of the xml:lang
     |      attribute.
     |
     |  setListDoc(self, doc)
     |      update all nodes in the list to point to the right document
     |
     |  setName(self, name)
     |      Set (or reset) the name of a node.
     |
     |  setProp(self, name, value)
     |      Set (or reset) an attribute carried by a node. If @name has
     |      a prefix, then the corresponding namespace-binding will be
     |      used, if in scope; it is an error it there's no such
     |       ns-binding for the prefix in scope.
     |
     |  setSpacePreserve(self, val)
     |      Set (or reset) the space preserving behaviour of a node,
     |      i.e. the value of the xml:space attribute.
     |
     |  setTreeDoc(self, doc)
     |      update all nodes under the tree to point to the right
     |      document
     |
     |  shellPrintNode(self)
     |      Print node to the output FILE
     |
     |  textConcat(self, content, len)
     |      Concat the given string at the end of the existing node
     |      content
     |
     |  textMerge(self, second)
     |      Merge two text nodes into one
     |
     |  unlinkNode(self)
     |      Unlink a node from it's current context, the node is not
     |      freed If one need to free the node, use xmlFreeNode()
     |      routine after the unlink to discard it. Note that namespace
     |      nodes can't be unlinked as they do not have pointer to
     |       their parent.
     |
     |  unsetProp(self, name)
     |      Remove an attribute carried by a node. This handles only
     |      attributes in no namespace.
     |
     |  validNormalizeAttributeValue(self, doc, name, value)
     |      Does the validation related extra step of the normalization
     |      of attribute values:  If the declared value is not CDATA,
     |      then the XML processor must further process the normalized
     |      attribute value by discarding any leading and trailing
     |      space (#x20) characters, and by replacing sequences of
     |       space (#x20) characters by single space (#x20) character.
     |
     |  xincludeProcessTree(self)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xincludeProcessTreeFlags(self, flags)
     |      Implement the XInclude substitution for the given subtree
     |
     |  xpathCastNodeToNumber(self)
     |      Converts a node to its number value
     |
     |  xpathCastNodeToString(self)
     |      Converts a node to its string value.
     |
     |  xpathCmpNodes(self, node2)
     |      Compare two nodes w.r.t document order
     |
     |  xpathNewNodeSet(self)
     |      Create a new xmlXPathObjectPtr of type NodeSet and
     |      initialize it with the single Node @val
     |
     |  xpathNewValueTree(self)
     |      Create a new xmlXPathObjectPtr of type Value Tree (XSLT)
     |      and initialize it with the tree root @val
     |
     |  xpathNextAncestor(self, ctxt)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, ctxt)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, ctxt)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, ctxt)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, ctxt)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, ctxt)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, ctxt)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, ctxt)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, ctxt)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, ctxt)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, ctxt)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, ctxt)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, ctxt)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNodeEval(self, str, ctx)
     |      Evaluate the XPath Location Path in the given context. The
     |      node 'node' is set as the context node. The context node is
     |       not restored.
     |
     |  xpointerNewCollapsedRange(self)
     |      Create a new xmlXPathObjectPtr of type range using a single
     |      nodes
     |
     |  xpointerNewContext(self, doc, origin)
     |      Create a new XPointer context
     |
     |  xpointerNewLocationSetNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type LocationSet and
     |      initialize it with the single range made of the two nodes
     |       @start and @end
     |
     |  xpointerNewRange(self, startindex, end, endindex)
     |      Create a new xmlXPathObjectPtr of type range
     |
     |  xpointerNewRangeNodes(self, end)
     |      Create a new xmlXPathObjectPtr of type range using 2 nodes
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlCore:
     |
     |  __eq__(self, other)
     |      Return self==value.
     |
     |  __hash__(self)
     |      Return hash(self).
     |
     |  __iter__ = walk_depth_first(self)
     |
     |  __ne__(self, other)
     |      Return self!=value.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  c14nMemory(self, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |      # Canonicalization routines:
     |      #
     |      #   nodes: the node set (tuple or list) to be included in the
     |      #     canonized image or None if all document nodes should be
     |      #     included.
     |      #   exclusive: the exclusive flag (0 - non-exclusive
     |      #     canonicalization; otherwise - exclusive canonicalization)
     |      #   prefixes: the list of inclusive namespace prefixes (strings),
     |      #     or None if there is no inclusive namespaces (only for
     |      #     exclusive canonicalization, ignored otherwise)
     |      #   with_comments: include comments in the result (!=0) or not
     |      #     (==0)
     |
     |  c14nSaveTo(self, file, nodes=None, exclusive=0, prefixes=None, with_comments=0)
     |
     |  free(self)
     |
     |  get_children(self)
     |
     |  get_content(self)
     |
     |  get_doc(self)
     |
     |  get_last(self)
     |
     |  get_name(self)
     |
     |  get_next(self)
     |
     |  get_parent(self)
     |
     |  get_prev(self)
     |
     |  get_properties(self)
     |
     |  get_type(self)
     |
     |  removeNsDef(self, href)
     |      Remove a namespace definition from a node.  If href is None,
     |      remove all of the ns definitions on that node.  The removed
     |      namespaces are returned as a linked list.
     |
     |      Note: If any child nodes referred to the removed namespaces,
     |      they will be left with dangling links.  You should call
     |      renconciliateNs() to fix those pointers.
     |
     |      Note: This method does not free memory taken by the ns
     |      definitions.  You will need to free it manually with the
     |      freeNsList() method on the returns xmlNs object.
     |
     |  saveTo(self, file, encoding=None, format=0)
     |
     |  serialize(self, encoding=None, format=0)
     |      # Serialization routines, the optional arguments have the following
     |      # meaning:
     |      #     encoding: string to ask saving in a specific encoding
     |      #     indent: if 1 the serializer is asked to indent the output
     |
     |  walk_breadth_first(self)
     |
     |  walk_depth_first(self)
     |      # support for python2 iterators
     |
     |  xpathEval(self, expr)
     |      # Selecting nodes using XPath, a bit slow because the context
     |      # is allocated/freed every time but convenient.
     |
     |  xpathEval2(self, expr)
     |
     |  ----------------------------------------------------------------------
     |  Readonly properties inherited from xmlCore:
     |
     |  children
     |      First child node
     |
     |  content
     |      Content of this node
     |
     |  doc
     |      The document this node belongs to
     |
     |  last
     |      Last sibling node
     |
     |  name
     |      Node name
     |
     |  next
     |      Next sibling node
     |
     |  parent
     |      Parent node
     |
     |  prev
     |      Previous sibling node
     |
     |  properties
     |      List of properties
     |
     |  type
     |      Node type
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Data and other attributes inherited from xmlCore:
     |
     |  sys = <module 'sys' (built-in)>
     |      This module provides access to some objects used or maintained by the
     |      interpreter and to functions that interact strongly with the interpreter.
     |
     |      Dynamic objects:
     |
     |      argv -- command line arguments; argv[0] is the script pathname if known
     |      path -- module search path; path[0] is the script directory, else ''
     |      modules -- dictionary of loaded modules
     |
     |      displayhook -- called to show results in an interactive session
     |      excepthook -- called to handle any uncaught exception other than SystemExit
     |        To customize printing in an interactive session or to install a custom
     |        top-level exception handler, assign other functions to replace these.
     |
     |      stdin -- standard input file object; used by input()
     |      stdout -- standard output file object; used by print()
     |      stderr -- standard error object; used for error messages
     |        By assigning other file objects (or objects that behave like files)
     |        to these, it is possible to redirect all of the interpreter's I/O.
     |
     |      last_type -- type of last uncaught exception
     |      last_value -- value of last uncaught exception
     |      last_traceback -- traceback of last uncaught exception
     |        These three are only available in an interactive session after a
     |        traceback has been printed.
     |
     |      Static objects:
     |
     |      builtin_module_names -- tuple of module names built into this interpreter
     |      copyright -- copyright notice pertaining to this interpreter
     |      exec_prefix -- prefix used to find the machine-specific Python library
     |      executable -- absolute path of the executable binary of the Python interpreter
     |      float_info -- a named tuple with information about the float implementation.
     |      float_repr_style -- string indicating the style of repr() output for floats
     |      hash_info -- a named tuple with information about the hash algorithm.
     |      hexversion -- version information encoded as a single integer
     |      implementation -- Python implementation information.
     |      int_info -- a named tuple with information about the int implementation.
     |      maxsize -- the largest supported length of containers.
     |      maxunicode -- the value of the largest Unicode code point
     |      platform -- platform identifier
     |      prefix -- prefix used to find the Python library
     |      thread_info -- a named tuple with information about the thread implementation.
     |      version -- the version of this interpreter as a string
     |      version_info -- version information as a named tuple
     |      __stdin__ -- the original stdin; don't touch!
     |      __stdout__ -- the original stdout; don't touch!
     |      __stderr__ -- the original stderr; don't touch!
     |      __displayhook__ -- the original displayhook; don't touch!
     |      __excepthook__ -- the original excepthook; don't touch!
     |
     |      Functions:
     |
     |      displayhook() -- print an object to the screen, and save it in builtins._
     |      excepthook() -- print an exception and its traceback to sys.stderr
     |      exc_info() -- return thread-safe information about the current exception
     |      exit() -- exit the interpreter by raising SystemExit
     |      getdlopenflags() -- returns flags to be used for dlopen() calls
     |      getprofile() -- get the global profiling function
     |      getrefcount() -- return the reference count for an object (plus one :-)
     |      getrecursionlimit() -- return the max recursion depth for the interpreter
     |      getsizeof() -- return the size of an object in bytes
     |      gettrace() -- get the global debug tracing function
     |      setdlopenflags() -- set the flags to be used for dlopen() calls
     |      setprofile() -- set the global profiling function
     |      setrecursionlimit() -- set the max recursion depth for the interpreter
     |      settrace() -- set the global debug tracing function

    class xmlReg(builtins.object)
     |  xmlReg(_obj=None)
     |
     |  Methods defined here:
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  regexpExec(self, content)
     |      Check if the regular expression generates the value
     |
     |  regexpIsDeterminist(self)
     |      Check if the regular expression is determinist
     |
     |  regexpPrint(self, output)
     |      Print the content of the compiled regular expression
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xmlTextReader(xmlTextReaderCore)
     |  xmlTextReader(_obj=None)
     |
     |  Method resolution order:
     |      xmlTextReader
     |      xmlTextReaderCore
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  AttributeCount(self)
     |      Provides the number of attributes of the current node
     |
     |  BaseUri(self)
     |      The base URI of the node.
     |
     |  ByteConsumed(self)
     |      This function provides the current index of the parser used
     |      by the reader, relative to the start of the current entity.
     |      This function actually just wraps a call to
     |      xmlBytesConsumed() for the parser context associated with
     |       the reader. See xmlBytesConsumed() for more information.
     |
     |  Close(self)
     |      This method releases any resources allocated by the current
     |      instance changes the state to Closed and close any
     |       underlying input.
     |
     |  CurrentDoc(self)
     |      Hacking interface allowing to get the xmlDocPtr
     |      corresponding to the current document being accessed by the
     |      xmlTextReader. NOTE: as a result of this call, the reader
     |      will not destroy the associated XML document and calling
     |      xmlFreeDoc() on the result is needed once the reader
     |       parsing has finished.
     |
     |  CurrentNode(self)
     |      Hacking interface allowing to get the xmlNodePtr
     |      corresponding to the current node being accessed by the
     |      xmlTextReader. This is dangerous because the underlying
     |       node may be destroyed on the next Reads.
     |
     |  Depth(self)
     |      The depth of the node in the tree.
     |
     |  Encoding(self)
     |      Determine the encoding of the document being read.
     |
     |  Expand(self)
     |      Reads the contents of the current node and the full
     |      subtree. It then makes the subtree available until the next
     |       xmlTextReaderRead() call
     |
     |  GetAttribute(self, name)
     |      Provides the value of the attribute with the specified
     |      qualified name.
     |
     |  GetAttributeNo(self, no)
     |      Provides the value of the attribute with the specified
     |      index relative to the containing element.
     |
     |  GetAttributeNs(self, localName, namespaceURI)
     |      Provides the value of the specified attribute
     |
     |  GetParserColumnNumber(self)
     |      Provide the column number of the current parsing point.
     |
     |  GetParserLineNumber(self)
     |      Provide the line number of the current parsing point.
     |
     |  GetParserProp(self, prop)
     |      Read the parser internal property.
     |
     |  GetRemainder(self)
     |      Method to get the remainder of the buffered XML. this
     |      method stops the parser, set its state to End Of File and
     |      return the input stream with what is left that the parser
     |      did not use.  The implementation is not good, the parser
     |      certainly progressed past what's left in reader->input, and
     |      there is an allocation problem. Best would be to rewrite it
     |       differently.
     |
     |  HasAttributes(self)
     |      Whether the node has attributes.
     |
     |  HasValue(self)
     |      Whether the node can have a text value.
     |
     |  IsDefault(self)
     |      Whether an Attribute  node was generated from the default
     |      value defined in the DTD or schema.
     |
     |  IsEmptyElement(self)
     |      Check if the current node is empty
     |
     |  IsNamespaceDecl(self)
     |      Determine whether the current node is a namespace
     |      declaration rather than a regular attribute.
     |
     |  IsValid(self)
     |      Retrieve the validity status from the parser context
     |
     |  LocalName(self)
     |      The local name of the node.
     |
     |  LookupNamespace(self, prefix)
     |      Resolves a namespace prefix in the scope of the current
     |      element.
     |
     |  MoveToAttribute(self, name)
     |      Moves the position of the current instance to the attribute
     |      with the specified qualified name.
     |
     |  MoveToAttributeNo(self, no)
     |      Moves the position of the current instance to the attribute
     |      with the specified index relative to the containing element.
     |
     |  MoveToAttributeNs(self, localName, namespaceURI)
     |      Moves the position of the current instance to the attribute
     |      with the specified local name and namespace URI.
     |
     |  MoveToElement(self)
     |      Moves the position of the current instance to the node that
     |      contains the current Attribute  node.
     |
     |  MoveToFirstAttribute(self)
     |      Moves the position of the current instance to the first
     |      attribute associated with the current node.
     |
     |  MoveToNextAttribute(self)
     |      Moves the position of the current instance to the next
     |      attribute associated with the current node.
     |
     |  Name(self)
     |      The qualified name of the node, equal to Prefix :LocalName.
     |
     |  NamespaceUri(self)
     |      The URI defining the namespace associated with the node.
     |
     |  NewDoc(self, cur, URL, encoding, options)
     |      Setup an xmltextReader to parse an XML in-memory document.
     |      The parsing flags @options are a combination of
     |      xmlParserOption. This reuses the existing @reader
     |       xmlTextReader.
     |
     |  NewFd(self, fd, URL, encoding, options)
     |      Setup an xmltextReader to parse an XML from a file
     |      descriptor. NOTE that the file descriptor will not be
     |      closed when the reader is closed or reset. The parsing
     |      flags @options are a combination of xmlParserOption. This
     |       reuses the existing @reader xmlTextReader.
     |
     |  NewFile(self, filename, encoding, options)
     |      parse an XML file from the filesystem or the network. The
     |      parsing flags @options are a combination of
     |      xmlParserOption. This reuses the existing @reader
     |       xmlTextReader.
     |
     |  NewMemory(self, buffer, size, URL, encoding, options)
     |      Setup an xmltextReader to parse an XML in-memory document.
     |      The parsing flags @options are a combination of
     |      xmlParserOption. This reuses the existing @reader
     |       xmlTextReader.
     |
     |  NewWalker(self, doc)
     |      Setup an xmltextReader to parse a preparsed XML document.
     |      This reuses the existing @reader xmlTextReader.
     |
     |  Next(self)
     |      Skip to the node following the current one in document
     |      order while avoiding the subtree if any.
     |
     |  NextSibling(self)
     |      Skip to the node following the current one in document
     |      order while avoiding the subtree if any. Currently
     |       implemented only for Readers built on a document
     |
     |  NodeType(self)
     |      Get the node type of the current node Reference:
     |      http://www.gnu.org/software/dotgnu/pnetlib-doc/System/Xml/Xm
     |      lNodeType.html
     |
     |  Normalization(self)
     |      The value indicating whether to normalize white space and
     |      attribute values. Since attribute value and end of line
     |      normalizations are a MUST in the XML specification only the
     |      value true is accepted. The broken behaviour of accepting
     |      out of range character entities like &#0; is of course not
     |       supported either.
     |
     |  Prefix(self)
     |      A shorthand reference to the namespace associated with the
     |      node.
     |
     |  Preserve(self)
     |      This tells the XML Reader to preserve the current node. The
     |      caller must also use xmlTextReaderCurrentDoc() to keep an
     |       handle on the resulting document once parsing has finished
     |
     |  QuoteChar(self)
     |      The quotation mark character used to enclose the value of
     |      an attribute.
     |
     |  Read(self)
     |      Moves the position of the current instance to the next node
     |      in the stream, exposing its properties.
     |
     |  ReadAttributeValue(self)
     |      Parses an attribute value into one or more Text and
     |      EntityReference nodes.
     |
     |  ReadInnerXml(self)
     |      Reads the contents of the current node, including child
     |      nodes and markup.
     |
     |  ReadOuterXml(self)
     |      Reads the contents of the current node, including child
     |      nodes and markup.
     |
     |  ReadState(self)
     |      Gets the read state of the reader.
     |
     |  ReadString(self)
     |      Reads the contents of an element or a text node as a string.
     |
     |  RelaxNGSetSchema(self, schema)
     |      Use RelaxNG to validate the document as it is processed.
     |      Activation is only possible before the first Read(). if
     |      @schema is None, then RelaxNG validation is deactivated. @
     |      The @schema should not be freed until the reader is
     |       deallocated or its use has been deactivated.
     |
     |  RelaxNGValidate(self, rng)
     |      Use RelaxNG schema to validate the document as it is
     |      processed. Activation is only possible before the first
     |      Read(). If @rng is None, then RelaxNG schema validation is
     |       deactivated.
     |
     |  RelaxNGValidateCtxt(self, ctxt, options)
     |      Use RelaxNG schema context to validate the document as it
     |      is processed. Activation is only possible before the first
     |      Read(). If @ctxt is None, then RelaxNG schema validation is
     |       deactivated.
     |
     |  SchemaValidate(self, xsd)
     |      Use W3C XSD schema to validate the document as it is
     |      processed. Activation is only possible before the first
     |      Read(). If @xsd is None, then XML Schema validation is
     |       deactivated.
     |
     |  SchemaValidateCtxt(self, ctxt, options)
     |      Use W3C XSD schema context to validate the document as it
     |      is processed. Activation is only possible before the first
     |      Read(). If @ctxt is None, then XML Schema validation is
     |       deactivated.
     |
     |  SetParserProp(self, prop, value)
     |      Change the parser processing behaviour by changing some of
     |      its internal properties. Note that some properties can only
     |       be changed before any read has been done.
     |
     |  SetSchema(self, schema)
     |      Use XSD Schema to validate the document as it is processed.
     |      Activation is only possible before the first Read(). if
     |      @schema is None, then Schema validation is deactivated. The
     |      @schema should not be freed until the reader is deallocated
     |       or its use has been deactivated.
     |
     |  Setup(self, input, URL, encoding, options)
     |      Setup an XML reader with new options
     |
     |  Standalone(self)
     |      Determine the standalone status of the document being read.
     |
     |  String(self, str)
     |      Get an interned string from the reader, allows for example
     |      to speedup string name comparisons
     |
     |  Value(self)
     |      Provides the text value of the node if present
     |
     |  XmlLang(self)
     |      The xml:lang scope within which the node resides.
     |
     |  XmlVersion(self)
     |      Determine the XML version of the document being read.
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from xmlTextReaderCore:
     |
     |  GetErrorHandler(self)
     |      Return (f,arg) as previously registered with setErrorHandler
     |      or (None,None).
     |
     |  SetErrorHandler(self, f, arg)
     |      Register an error handler that will be called back as
     |      f(arg,msg,severity,locator).
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from xmlTextReaderCore:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xmlTextReaderCore(builtins.object)
     |  xmlTextReaderCore(_obj=None)
     |
     |  Methods defined here:
     |
     |  GetErrorHandler(self)
     |      Return (f,arg) as previously registered with setErrorHandler
     |      or (None,None).
     |
     |  SetErrorHandler(self, f, arg)
     |      Register an error handler that will be called back as
     |      f(arg,msg,severity,locator).
     |
     |  __del__(self)
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xmlTextReaderLocator(builtins.object)
     |  xmlTextReaderLocator(_obj=None)
     |
     |  Methods defined here:
     |
     |  BaseURI(self)
     |      Obtain the base URI for the given locator.
     |
     |  LineNumber(self)
     |      Obtain the line number for the given locator.
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xpathContext(builtins.object)
     |  xpathContext(_obj=None)
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  contextDoc(self)
     |      Get the doc from an xpathContext
     |
     |  contextNode(self)
     |      Get the current node from an xpathContext
     |
     |  contextPosition(self)
     |      Get the current node from an xpathContext
     |
     |  contextSize(self)
     |      Get the current node from an xpathContext
     |
     |  function(self)
     |      Get the current function name xpathContext
     |
     |  functionURI(self)
     |      Get the current function name URI xpathContext
     |
     |  registerXPathFunction(self, name, ns_uri, f)
     |      Register a Python written function to the XPath interpreter
     |
     |  setContextDoc(self, doc)
     |      Set the doc of an xpathContext
     |
     |  setContextNode(self, node)
     |      Set the current node of an xpathContext
     |
     |  xpathContextSetCache(self, active, value, options)
     |      Creates/frees an object cache on the XPath context. If
     |      activates XPath objects (xmlXPathObject) will be cached
     |      internally to be reused. @options: 0: This will set the
     |      XPath object caching: @value: This will set the maximum
     |      number of XPath objects to be cached per slot There are 5
     |      slots for: node-set, string, number, boolean, and misc
     |      objects. Use <0 for the default number (100). Other values
     |       for @options have currently no effect.
     |
     |  xpathEval(self, str)
     |      Evaluate the XPath Location Path in the given context.
     |
     |  xpathEvalExpression(self, str)
     |      Alias for xmlXPathEval().
     |
     |  xpathFreeContext(self)
     |      Free up an xmlXPathContext
     |
     |  xpathNewParserContext(self, str)
     |      Create a new xmlXPathParserContext
     |
     |  xpathNsLookup(self, prefix)
     |      Search in the namespace declaration array of the context
     |      for the given namespace name associated to the given prefix
     |
     |  xpathRegisterAllFunctions(self)
     |      Registers all default XPath functions in this context
     |
     |  xpathRegisterNs(self, prefix, ns_uri)
     |      Register a new namespace. If @ns_uri is None it unregisters
     |      the namespace
     |
     |  xpathRegisterVariable(self, name, ns_uri, value)
     |      Register a variable with the XPath context
     |
     |  xpathRegisteredFuncsCleanup(self)
     |      Cleanup the XPath context data associated to registered
     |      functions
     |
     |  xpathRegisteredNsCleanup(self)
     |      Cleanup the XPath context data associated to registered
     |      variables
     |
     |  xpathRegisteredVariablesCleanup(self)
     |      Cleanup the XPath context data associated to registered
     |      variables
     |
     |  xpathVariableLookup(self, name)
     |      Search in the Variable array of the context for the given
     |      variable value.
     |
     |  xpathVariableLookupNS(self, name, ns_uri)
     |      Search in the Variable array of the context for the given
     |      variable value.
     |
     |  xpointerEval(self, str)
     |      Evaluate the XPath Location Path in the given context.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

    class xpathError(libxmlError)
     |  xpathError(msg)
     |
     |  Method resolution order:
     |      xpathError
     |      libxmlError
     |      builtins.Exception
     |      builtins.BaseException
     |      builtins.object
     |
     |  Methods defined here:
     |
     |  __init__(self, msg)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  __str__(self)
     |      Return str(self).
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from libxmlError:
     |
     |  __weakref__
     |      list of weak references to the object (if defined)
     |
     |  ----------------------------------------------------------------------
     |  Static methods inherited from builtins.Exception:
     |
     |  __new__(*args, **kwargs) from builtins.type
     |      Create and return a new object.  See help(type) for accurate signature.
     |
     |  ----------------------------------------------------------------------
     |  Methods inherited from builtins.BaseException:
     |
     |  __delattr__(self, name, /)
     |      Implement delattr(self, name).
     |
     |  __getattribute__(self, name, /)
     |      Return getattr(self, name).
     |
     |  __reduce__(...)
     |      Helper for pickle.
     |
     |  __repr__(self, /)
     |      Return repr(self).
     |
     |  __setattr__(self, name, value, /)
     |      Implement setattr(self, name, value).
     |
     |  __setstate__(...)
     |
     |  with_traceback(...)
     |      Exception.with_traceback(tb) --
     |      set self.__traceback__ to tb and return self.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors inherited from builtins.BaseException:
     |
     |  __cause__
     |      exception cause
     |
     |  __context__
     |      exception context
     |
     |  __dict__
     |
     |  __suppress_context__
     |
     |  __traceback__
     |
     |  args

    class xpathParserContext(builtins.object)
     |  xpathParserContext(_obj=None)
     |
     |  Methods defined here:
     |
     |  __init__(self, _obj=None)
     |      Initialize self.  See help(type(self)) for accurate signature.
     |
     |  context(self)
     |      Get the xpathContext from an xpathParserContext
     |
     |  xpathAddValues(self)
     |      Implement the add operation on XPath objects: The numeric
     |      operators convert their operands to numbers as if by
     |       calling the number function.
     |
     |  xpathBooleanFunction(self, nargs)
     |      Implement the boolean() XPath function boolean
     |      boolean(object) The boolean function converts its argument
     |      to a boolean as follows: - a number is true if and only if
     |      it is neither positive or negative zero nor NaN - a
     |      node-set is true if and only if it is non-empty - a string
     |       is true if and only if its length is non-zero
     |
     |  xpathCeilingFunction(self, nargs)
     |      Implement the ceiling() XPath function number
     |      ceiling(number) The ceiling function returns the smallest
     |      (closest to negative infinity) number that is not less than
     |       the argument and that is an integer.
     |
     |  xpathCompareValues(self, inf, strict)
     |      Implement the compare operation on XPath objects: @arg1 <
     |      @arg2    (1, 1, ... @arg1 <= @arg2   (1, 0, ... @arg1 >
     |      @arg2    (0, 1, ... @arg1 >= @arg2   (0, 0, ...  When
     |      neither object to be compared is a node-set and the
     |      operator is <=, <, >=, >, then the objects are compared by
     |      converted both objects to numbers and comparing the numbers
     |      according to IEEE 754. The < comparison will be true if and
     |      only if the first number is less than the second number.
     |      The <= comparison will be true if and only if the first
     |      number is less than or equal to the second number. The >
     |      comparison will be true if and only if the first number is
     |      greater than the second number. The >= comparison will be
     |      true if and only if the first number is greater than or
     |       equal to the second number.
     |
     |  xpathConcatFunction(self, nargs)
     |      Implement the concat() XPath function string concat(string,
     |      string, string*) The concat function returns the
     |       concatenation of its arguments.
     |
     |  xpathContainsFunction(self, nargs)
     |      Implement the contains() XPath function boolean
     |      contains(string, string) The contains function returns true
     |      if the first argument string contains the second argument
     |       string, and otherwise returns false.
     |
     |  xpathCountFunction(self, nargs)
     |      Implement the count() XPath function number count(node-set)
     |
     |  xpathDivValues(self)
     |      Implement the div operation on XPath objects @arg1 / @arg2:
     |      The numeric operators convert their operands to numbers as
     |       if by calling the number function.
     |
     |  xpathEqualValues(self)
     |      Implement the equal operation on XPath objects content:
     |      @arg1 == @arg2
     |
     |  xpathErr(self, error)
     |      Handle an XPath error
     |
     |  xpathEvalExpr(self)
     |      Parse and evaluate an XPath expression in the given
     |      context, then push the result on the context stack
     |
     |  xpathFalseFunction(self, nargs)
     |      Implement the false() XPath function boolean false()
     |
     |  xpathFloorFunction(self, nargs)
     |      Implement the floor() XPath function number floor(number)
     |      The floor function returns the largest (closest to positive
     |      infinity) number that is not greater than the argument and
     |       that is an integer.
     |
     |  xpathFreeParserContext(self)
     |      Free up an xmlXPathParserContext
     |
     |  xpathIdFunction(self, nargs)
     |      Implement the id() XPath function node-set id(object) The
     |      id function selects elements by their unique ID (see [5.2.1
     |      Unique IDs]). When the argument to id is of type node-set,
     |      then the result is the union of the result of applying id
     |      to the string value of each of the nodes in the argument
     |      node-set. When the argument to id is of any other type, the
     |      argument is converted to a string as if by a call to the
     |      string function; the string is split into a
     |      whitespace-separated list of tokens (whitespace is any
     |      sequence of characters matching the production S); the
     |      result is a node-set containing the elements in the same
     |      document as the context node that have a unique ID equal to
     |       any of the tokens in the list.
     |
     |  xpathLangFunction(self, nargs)
     |      Implement the lang() XPath function boolean lang(string)
     |      The lang function returns true or false depending on
     |      whether the language of the context node as specified by
     |      xml:lang attributes is the same as or is a sublanguage of
     |      the language specified by the argument string. The language
     |      of the context node is determined by the value of the
     |      xml:lang attribute on the context node, or, if the context
     |      node has no xml:lang attribute, by the value of the
     |      xml:lang attribute on the nearest ancestor of the context
     |      node that has an xml:lang attribute. If there is no such
     |       attribute, then lang
     |
     |  xpathLastFunction(self, nargs)
     |      Implement the last() XPath function number last() The last
     |      function returns the number of nodes in the context node
     |       list.
     |
     |  xpathLocalNameFunction(self, nargs)
     |      Implement the local-name() XPath function string
     |      local-name(node-set?) The local-name function returns a
     |      string containing the local part of the name of the node in
     |      the argument node-set that is first in document order. If
     |      the node-set is empty or the first node has no name, an
     |      empty string is returned. If the argument is omitted it
     |       defaults to the context node.
     |
     |  xpathModValues(self)
     |      Implement the mod operation on XPath objects: @arg1 / @arg2
     |      The numeric operators convert their operands to numbers as
     |       if by calling the number function.
     |
     |  xpathMultValues(self)
     |      Implement the multiply operation on XPath objects: The
     |      numeric operators convert their operands to numbers as if
     |       by calling the number function.
     |
     |  xpathNamespaceURIFunction(self, nargs)
     |      Implement the namespace-uri() XPath function string
     |      namespace-uri(node-set?) The namespace-uri function returns
     |      a string containing the namespace URI of the expanded name
     |      of the node in the argument node-set that is first in
     |      document order. If the node-set is empty, the first node
     |      has no name, or the expanded name has no namespace URI, an
     |      empty string is returned. If the argument is omitted it
     |       defaults to the context node.
     |
     |  xpathNextAncestor(self, cur)
     |      Traversal function for the "ancestor" direction the
     |      ancestor axis contains the ancestors of the context node;
     |      the ancestors of the context node consist of the parent of
     |      context node and the parent's parent and so on; the nodes
     |      are ordered in reverse document order; thus the parent is
     |      the first node on the axis, and the parent's parent is the
     |       second node on the axis
     |
     |  xpathNextAncestorOrSelf(self, cur)
     |      Traversal function for the "ancestor-or-self" direction he
     |      ancestor-or-self axis contains the context node and
     |      ancestors of the context node in reverse document order;
     |      thus the context node is the first node on the axis, and
     |      the context node's parent the second; parent here is
     |       defined the same as with the parent axis.
     |
     |  xpathNextAttribute(self, cur)
     |      Traversal function for the "attribute" direction TODO:
     |      support DTD inherited default attributes
     |
     |  xpathNextChild(self, cur)
     |      Traversal function for the "child" direction The child axis
     |      contains the children of the context node in document order.
     |
     |  xpathNextDescendant(self, cur)
     |      Traversal function for the "descendant" direction the
     |      descendant axis contains the descendants of the context
     |      node in document order; a descendant is a child or a child
     |       of a child and so on.
     |
     |  xpathNextDescendantOrSelf(self, cur)
     |      Traversal function for the "descendant-or-self" direction
     |      the descendant-or-self axis contains the context node and
     |      the descendants of the context node in document order; thus
     |      the context node is the first node on the axis, and the
     |      first child of the context node is the second node on the
     |       axis
     |
     |  xpathNextFollowing(self, cur)
     |      Traversal function for the "following" direction The
     |      following axis contains all nodes in the same document as
     |      the context node that are after the context node in
     |      document order, excluding any descendants and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in document order
     |
     |  xpathNextFollowingSibling(self, cur)
     |      Traversal function for the "following-sibling" direction
     |      The following-sibling axis contains the following siblings
     |       of the context node in document order.
     |
     |  xpathNextNamespace(self, cur)
     |      Traversal function for the "namespace" direction the
     |      namespace axis contains the namespace nodes of the context
     |      node; the order of nodes on this axis is
     |      implementation-defined; the axis will be empty unless the
     |      context node is an element  We keep the XML namespace node
     |       at the end of the list.
     |
     |  xpathNextParent(self, cur)
     |      Traversal function for the "parent" direction The parent
     |      axis contains the parent of the context node, if there is
     |       one.
     |
     |  xpathNextPreceding(self, cur)
     |      Traversal function for the "preceding" direction the
     |      preceding axis contains all nodes in the same document as
     |      the context node that are before the context node in
     |      document order, excluding any ancestors and excluding
     |      attribute nodes and namespace nodes; the nodes are ordered
     |       in reverse document order
     |
     |  xpathNextPrecedingSibling(self, cur)
     |      Traversal function for the "preceding-sibling" direction
     |      The preceding-sibling axis contains the preceding siblings
     |      of the context node in reverse document order; the first
     |      preceding sibling is first on the axis; the sibling
     |       preceding that node is the second on the axis and so on.
     |
     |  xpathNextSelf(self, cur)
     |      Traversal function for the "self" direction The self axis
     |      contains just the context node itself
     |
     |  xpathNormalizeFunction(self, nargs)
     |      Implement the normalize-space() XPath function string
     |      normalize-space(string?) The normalize-space function
     |      returns the argument string with white space normalized by
     |      stripping leading and trailing whitespace and replacing
     |      sequences of whitespace characters by a single space.
     |      Whitespace characters are the same allowed by the S
     |      production in XML. If the argument is omitted, it defaults
     |      to the context node converted to a string, in other words
     |       the value of the context node.
     |
     |  xpathNotEqualValues(self)
     |      Implement the equal operation on XPath objects content:
     |      @arg1 == @arg2
     |
     |  xpathNotFunction(self, nargs)
     |      Implement the not() XPath function boolean not(boolean) The
     |      not function returns true if its argument is false, and
     |       false otherwise.
     |
     |  xpathNumberFunction(self, nargs)
     |      Implement the number() XPath function number number(object?)
     |
     |  xpathParseNCName(self)
     |      parse an XML namespace non qualified name.  [NS 3] NCName
     |      ::= (Letter | '_') (NCNameChar)*  [NS 4] NCNameChar ::=
     |       Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender
     |
     |  xpathParseName(self)
     |      parse an XML name  [4] NameChar ::= Letter | Digit | '.' |
     |      '-' | '_' | ':' | CombiningChar | Extender  [5] Name ::=
     |       (Letter | '_' | ':') (NameChar)*
     |
     |  xpathPopBoolean(self)
     |      Pops a boolean from the stack, handling conversion if
     |      needed. Check error with #xmlXPathCheckError.
     |
     |  xpathPopNumber(self)
     |      Pops a number from the stack, handling conversion if
     |      needed. Check error with #xmlXPathCheckError.
     |
     |  xpathPopString(self)
     |      Pops a string from the stack, handling conversion if
     |      needed. Check error with #xmlXPathCheckError.
     |
     |  xpathPositionFunction(self, nargs)
     |      Implement the position() XPath function number position()
     |      The position function returns the position of the context
     |      node in the context node list. The first position is 1, and
     |       so the last position will be equal to last().
     |
     |  xpathRoot(self)
     |      Initialize the context to the root of the document
     |
     |  xpathRoundFunction(self, nargs)
     |      Implement the round() XPath function number round(number)
     |      The round function returns the number that is closest to
     |      the argument and that is an integer. If there are two such
     |      numbers, then the one that is closest to positive infinity
     |       is returned.
     |
     |  xpathStartsWithFunction(self, nargs)
     |      Implement the starts-with() XPath function boolean
     |      starts-with(string, string) The starts-with function
     |      returns true if the first argument string starts with the
     |       second argument string, and otherwise returns false.
     |
     |  xpathStringFunction(self, nargs)
     |      Implement the string() XPath function string
     |      string(object?) The string function converts an object to a
     |      string as follows: - A node-set is converted to a string by
     |      returning the value of the node in the node-set that is
     |      first in document order. If the node-set is empty, an empty
     |      string is returned. - A number is converted to a string as
     |      follows + NaN is converted to the string NaN + positive
     |      zero is converted to the string 0 + negative zero is
     |      converted to the string 0 + positive infinity is converted
     |      to the string Infinity + negative infinity is converted to
     |      the string -Infinity + if the number is an integer, the
     |      number is represented in decimal form as a Number with no
     |      decimal point and no leading zeros, preceded by a minus
     |      sign (-) if the number is negative + otherwise, the number
     |      is represented in decimal form as a Number including a
     |      decimal point with at least one digit before the decimal
     |      point and at least one digit after the decimal point,
     |      preceded by a minus sign (-) if the number is negative;
     |      there must be no leading zeros before the decimal point
     |      apart possibly from the one required digit immediately
     |      before the decimal point; beyond the one required digit
     |      after the decimal point there must be as many, but only as
     |      many, more digits as are needed to uniquely distinguish the
     |      number from all other IEEE 754 numeric values. - The
     |      boolean false value is converted to the string false. The
     |      boolean true value is converted to the string true.  If the
     |      argument is omitted, it defaults to a node-set with the
     |       context node as its only member.
     |
     |  xpathStringLengthFunction(self, nargs)
     |      Implement the string-length() XPath function number
     |      string-length(string?) The string-length returns the number
     |      of characters in the string (see [3.6 Strings]). If the
     |      argument is omitted, it defaults to the context node
     |      converted to a string, in other words the value of the
     |       context node.
     |
     |  xpathSubValues(self)
     |      Implement the subtraction operation on XPath objects: The
     |      numeric operators convert their operands to numbers as if
     |       by calling the number function.
     |
     |  xpathSubstringAfterFunction(self, nargs)
     |      Implement the substring-after() XPath function string
     |      substring-after(string, string) The substring-after
     |      function returns the substring of the first argument string
     |      that follows the first occurrence of the second argument
     |      string in the first argument string, or the empty stringi
     |      if the first argument string does not contain the second
     |      argument string. For example,
     |      substring-after("1999/04/01","/") returns 04/01, and
     |       substring-after("1999/04/01","19") returns 99/04/01.
     |
     |  xpathSubstringBeforeFunction(self, nargs)
     |      Implement the substring-before() XPath function string
     |      substring-before(string, string) The substring-before
     |      function returns the substring of the first argument string
     |      that precedes the first occurrence of the second argument
     |      string in the first argument string, or the empty string if
     |      the first argument string does not contain the second
     |      argument string. For example,
     |       substring-before("1999/04/01","/") returns 1999.
     |
     |  xpathSubstringFunction(self, nargs)
     |      Implement the substring() XPath function string
     |      substring(string, number, number?) The substring function
     |      returns the substring of the first argument starting at the
     |      position specified in the second argument with length
     |      specified in the third argument. For example,
     |      substring("12345",2,3) returns "234". If the third argument
     |      is not specified, it returns the substring starting at the
     |      position specified in the second argument and continuing to
     |      the end of the string. For example, substring("12345",2)
     |      returns "2345".  More precisely, each character in the
     |      string (see [3.6 Strings]) is considered to have a numeric
     |      position: the position of the first character is 1, the
     |      position of the second character is 2 and so on. The
     |      returned substring contains those characters for which the
     |      position of the character is greater than or equal to the
     |      second argument and, if the third argument is specified,
     |      less than the sum of the second and third arguments; the
     |      comparisons and addition used for the above follow the
     |      standard IEEE 754 rules. Thus: - substring("12345", 1.5,
     |      2.6) returns "234" - substring("12345", 0, 3) returns "12"
     |      - substring("12345", 0 div 0, 3) returns "" -
     |      substring("12345", 1, 0 div 0) returns "" -
     |      substring("12345", -42, 1 div 0) returns "12345" -
     |       substring("12345", -1 div 0, 1 div 0) returns ""
     |
     |  xpathSumFunction(self, nargs)
     |      Implement the sum() XPath function number sum(node-set) The
     |      sum function returns the sum of the values of the nodes in
     |       the argument node-set.
     |
     |  xpathTranslateFunction(self, nargs)
     |      Implement the translate() XPath function string
     |      translate(string, string, string) The translate function
     |      returns the first argument string with occurrences of
     |      characters in the second argument string replaced by the
     |      character at the corresponding position in the third
     |      argument string. For example, translate("bar","abc","ABC")
     |      returns the string BAr. If there is a character in the
     |      second argument string with no character at a corresponding
     |      position in the third argument string (because the second
     |      argument string is longer than the third argument string),
     |      then occurrences of that character in the first argument
     |      string are removed. For example,
     |       translate("--aaa--","abc-","ABC")
     |
     |  xpathTrueFunction(self, nargs)
     |      Implement the true() XPath function boolean true()
     |
     |  xpathValueFlipSign(self)
     |      Implement the unary - operation on an XPath object The
     |      numeric operators convert their operands to numbers as if
     |       by calling the number function.
     |
     |  xpatherror(self, file, line, no)
     |      Formats an error message.
     |
     |  xpointerEvalRangePredicate(self)
     |      [8]   Predicate ::=   '[' PredicateExpr ']' [9]
     |      PredicateExpr ::=   Expr  Evaluate a predicate as in
     |      xmlXPathEvalPredicate() but for a Location Set instead of a
     |       node set
     |
     |  xpointerRangeToFunction(self, nargs)
     |      Implement the range-to() XPointer function  Obsolete.
     |      range-to is not a real function but a special type of
     |       location step which is handled in xpath.c.
     |
     |  ----------------------------------------------------------------------
     |  Data descriptors defined here:
     |
     |  __dict__
     |      dictionary for instance variables (if defined)
     |
     |  __weakref__
     |      list of weak references to the object (if defined)

FUNCTIONS
    SAXDefaultVersion(version)
        Set the default version of SAX used globally by the
        library. By default, during initialization the default is
        set to 2. Note that it is generally a better coding style
        to use xmlSAXVersion() to set up the version explicitly for
         a given parsing context.

    SAXParseFile(SAX, URI, recover)
        Interface to parse an XML file or resource pointed by an
        URI to build an event flow to the SAX object

    URIEscape(str)
        Escaping routine, does not do validity checks ! It will try
        to escape the chars needing this, but this is heuristic
         based it's impossible to be sure.

    URIEscapeStr(str, list)
        This routine escapes a string to hex, ignoring reserved
        characters (a-z) and the characters in the exception list.

    URIUnescapeString(str, len, target)
        Unescaping routine, but does not check that the string is
        an URI. The output is a direct unsigned char translation of
        %XX values (no encoding) Note that the length of the result
         can only be smaller or same size as the input string.

    UTF8Charcmp(utf1, utf2)
        compares the two UCS4 values

    UTF8Size(utf)
        calculates the internal size of a UTF8 character

    UTF8Strlen(utf)
        compute the length of an UTF8 string, it doesn't do a full
        UTF8 checking of the content of the string.

    UTF8Strloc(utf, utfchar)
        a function to provide the relative location of a UTF8 char

    UTF8Strndup(utf, len)
        a strndup for array of UTF8's

    UTF8Strpos(utf, pos)
        a function to provide the equivalent of fetching a
        character from a string array

    UTF8Strsize(utf, len)
        storage size of an UTF8 string the behaviour is not
        guaranteed if the input string is not UTF-8

    UTF8Strsub(utf, start, len)
        Create a substring from a given UTF-8 string Note:
        positions are given in units of UTF-8 chars

    addEncodingAlias(name, alias)
        Registers an alias @alias for an encoding named @name.
        Existing alias will be overwritten.

    boolToText(boolval)
        Convenient way to turn bool into text

    buildQName(ncname, prefix, memory, len)
        Builds the QName @prefix:@ncname in @memory if there is
        enough space and prefix is not None nor empty, otherwise
        allocate a new string. If prefix is None or empty it
         returns ncname.

    buildRelativeURI(URI, base)
        Expresses the URI of the reference in terms relative to the
        base.  Some examples of this operation include: base =
        "http://site1.com/docs/book1.html" URI input
        URI returned docs/pic1.gif                    pic1.gif
        docs/img/pic1.gif                img/pic1.gif img/pic1.gif
        ../img/pic1.gif http://site1.com/docs/pic1.gif   pic1.gif
        http://site2.com/docs/pic1.gif
        http://site2.com/docs/pic1.gif  base = "docs/book1.html"
        URI input                        URI returned docs/pic1.gif
        pic1.gif docs/img/pic1.gif                img/pic1.gif
        img/pic1.gif                     ../img/pic1.gif
        http://site1.com/docs/pic1.gif
        http://site1.com/docs/pic1.gif   Note: if the URI reference
        is really weird or complicated, it may be worthwhile to
        first convert it into a "nice" one by calling xmlBuildURI
        (using 'base') before calling this routine, since this
        routine (for reasonable efficiency) assumes URI has already
         been through some validation.

    buildURI(URI, base)
        Computes he final URI of the reference done by checking
        that the given URI is valid, and building the final URI
        using the base URI. This is processed according to section
        5.2 of the RFC 2396  5.2. Resolving Relative References to
         Absolute Form

    canonicPath(path)
        Constructs a canonic path from the specified path.

    catalogAdd(type, orig, replace)
        Add an entry in the catalog, it may overwrite existing but
        different entries. If called before any other catalog
        routine, allows to override the default shared catalog put
         in place by xmlInitializeCatalog();

    catalogCleanup()
        Free up all the memory associated with catalogs

    catalogConvert()
        Convert all the SGML catalog entries as XML ones

    catalogDump(out)
        Dump all the global catalog content to the given file.

    catalogGetPublic(pubID)
        Try to lookup the catalog reference associated to a public
        ID DEPRECATED, use xmlCatalogResolvePublic()

    catalogGetSystem(sysID)
        Try to lookup the catalog reference associated to a system
        ID DEPRECATED, use xmlCatalogResolveSystem()

    catalogRemove(value)
        Remove an entry from the catalog

    catalogResolve(pubID, sysID)
        Do a complete resolution lookup of an External Identifier

    catalogResolvePublic(pubID)
        Try to lookup the catalog reference associated to a public
        ID

    catalogResolveSystem(sysID)
        Try to lookup the catalog resource for a system ID

    catalogResolveURI(URI)
        Do a complete resolution lookup of an URI

    catalogSetDebug(level)
        Used to set the debug level for catalog operation, 0
        disable debugging, 1 enable it

    checkFilename(path)
        function checks to see if @path is a valid source (file,
        socket...) for XML.  if stat is not available on the target
         machine,

    checkLanguageID(lang)
        Checks that the value conforms to the LanguageID
        production:  NOTE: this is somewhat deprecated, those
        productions were removed from the XML Second edition.  [33]
        LanguageID ::= Langcode ('-' Subcode)* [34] Langcode ::=
        ISO639Code |  IanaCode |  UserCode [35] ISO639Code ::=
        ([a-z] | [A-Z]) ([a-z] | [A-Z]) [36] IanaCode ::= ('i' |
        'I') '-' ([a-z] | [A-Z])+ [37] UserCode ::= ('x' | 'X') '-'
        ([a-z] | [A-Z])+ [38] Subcode ::= ([a-z] | [A-Z])+  The
        current REC reference the successors of RFC 1766, currently
        5646  http://www.rfc-editor.org/rfc/rfc5646.txt langtag
        = language ["-" script] ["-" region] *("-" variant) *("-"
        extension) ["-" privateuse] language      = 2*3ALPHA
        ; shortest ISO 639 code ["-" extlang]       ; sometimes
        followed by ; extended language subtags / 4ALPHA
        ; or reserved for future use / 5*8ALPHA            ; or
        registered language subtag  extlang       = 3ALPHA
        ; selected ISO 639 codes *2("-" 3ALPHA)      ; permanently
        reserved  script        = 4ALPHA              ; ISO 15924
        code  region        = 2ALPHA              ; ISO 3166-1 code
        / 3DIGIT              ; UN M.49 code  variant       =
        5*8alphanum         ; registered variants / (DIGIT
        3alphanum)  extension     = singleton 1*("-" (2*8alphanum))
        ; Single alphanumerics ; "x" reserved for private use
        singleton     = DIGIT               ; 0 - 9 / %x41-57
        ; A - W / %x59-5A             ; Y - Z / %x61-77
        ; a - w / %x79-7A             ; y - z  it sounds right to
        still allow Irregular i-xxx IANA and user codes too The
        parser below doesn't try to cope with extension or
        privateuse that could be added but that's not interoperable
         anyway

    checkUTF8(utf)
        Checks @utf for being valid UTF-8. @utf is assumed to be
        null-terminated. This function is not super-strict, as it
        will allow longer UTF-8 sequences than necessary. Note that
        Java is capable of producing these sequences if provoked.
        Also note, this routine checks for the 4-byte maximum size,
         but does not check for 0x10ffff maximum value.

    checkVersion(version)
        check the compiled lib version against the include one.
        This can warn or immediately kill the application

    checkWrapper(obj)
        # Type of the wrapper class for the C objects wrappers

    cleanupCharEncodingHandlers()
        Cleanup the memory allocated for the char encoding support,
        it unregisters all the encoding handlers and the aliases.

    cleanupEncodingAliases()
        Unregisters all aliases

    cleanupGlobals()
        Additional cleanup for multi-threading

    cleanupInputCallbacks()
        clears the entire input callback table. this includes the
        compiled-in I/O.

    cleanupOutputCallbacks()
        clears the entire output callback table. this includes the
        compiled-in I/O callbacks.

    cleanupParser()
        # The cleanup now goes though a wrapper in libxml.c

    cleanupPredefinedEntities()
        Cleanup up the predefined entities table. Deprecated call

    compressMode()
        get the default compression mode used, ZLIB based.

    copyChar(len, out, val)
        append the char value in the array

    copyCharMultiByte(out, val)
        append the char value in the array

    createDocParserCtxt(cur)
        Creates a parser context for an XML in-memory document.

    createEntityParserCtxt(URL, ID, base)
        Create a parser context for an external entity Automatic
        support for ZLIB/Compress compressed document is provided
         by default if found at compile-time.

    createFileParserCtxt(filename)
        Create a parser context for a file content. Automatic
        support for ZLIB/Compress compressed document is provided
         by default if found at compile-time.

    createInputBuffer(file, encoding)
        Create a libxml2 input buffer from a Python file

    createMemoryParserCtxt(buffer, size)
        Create a parser context for an XML in-memory document.

    createOutputBuffer(file, encoding)
        Create a libxml2 output buffer from a Python file

    createPushParser(SAX, chunk, size, URI)
        Create a progressive XML parser context to build either an
        event flow if the SAX object is not None, or a DOM tree
         otherwise.

    createURI()
        Simply creates an empty xmlURI

    createURLParserCtxt(filename, options)
        Create a parser context for a file or URL content.
        Automatic support for ZLIB/Compress compressed document is
        provided by default if found at compile-time and for file
         accesses

    debugDumpString(output, str)
        Dumps information about the string, shorten it if necessary

    debugMemory(activate)
        Switch on the generation of line number for elements nodes.
        Also returns the number of bytes allocated and not freed by
         libxml2 since memory debugging was switched on.

    defaultSAXHandlerInit()
        Initialize the default SAX2 handler

    delEncodingAlias(alias)
        Unregisters an encoding alias @alias

    dictCleanup()
        Free the dictionary mutex. Do not call unless sure the
        library is not in use anymore !

    docbDefaultSAXHandlerInit()
        Initialize the default SAX handler

    dumpMemory()
        dump the memory allocated in the file .memdump

    encodingAlias(alias)
        Lookup an encoding name for the given alias.

    fileMatch(filename)
        input from FILE *

    htmlCreateFileParserCtxt(filename, encoding)
        Create a parser context for a file content. Automatic
        support for ZLIB/Compress compressed document is provided
         by default if found at compile-time.

    htmlCreateMemoryParserCtxt(buffer, size)
        Create a parser context for an HTML in-memory document.

    htmlCreatePushParser(SAX, chunk, size, URI)
        Create a progressive HTML parser context to build either an
        event flow if the SAX object is not None, or a DOM tree
         otherwise.

    htmlDefaultSAXHandlerInit()
        Initialize the default SAX handler

    htmlHandleOmittedElem(val)
        Set and return the previous value for handling HTML omitted
        tags.

    htmlInitAutoClose()
        This is a no-op now.

    htmlIsBooleanAttr(name)
        Determine if a given attribute is a boolean attribute.

    htmlIsScriptAttribute(name)
        Check if an attribute is of content type Script

    htmlNewDoc(URI, ExternalID)
        Creates a new HTML document

    htmlNewDocNoDtD(URI, ExternalID)
        Creates a new HTML document without a DTD node if @URI and
        @ExternalID are None

    htmlNewParserCtxt()
        Allocate and initialize a new parser context.

    htmlParseDoc(cur, encoding)
        parse an HTML in-memory document and build a tree.

    htmlParseFile(filename, encoding)
        parse an HTML file and build a tree. Automatic support for
        ZLIB/Compress compressed document is provided by default if
         found at compile-time.

    htmlReadDoc(cur, URL, encoding, options)
        parse an XML in-memory document and build a tree.

    htmlReadFd(fd, URL, encoding, options)
        parse an HTML from a file descriptor and build a tree. NOTE
        that the file descriptor will not be closed when the reader
         is closed or reset.

    htmlReadFile(filename, encoding, options)
        parse an XML file from the filesystem or the network.

    htmlReadMemory(buffer, size, URL, encoding, options)
        parse an XML in-memory document and build a tree.

    htmlSAXParseFile(SAX, URI, encoding)
        Interface to parse an HTML file or resource pointed by an
        URI to build an event flow to the SAX object

    iOFTPMatch(filename)
        check if the URI matches an FTP one

    iOHTTPMatch(filename)
        check if the URI matches an HTTP one

    initCharEncodingHandlers()
        Initialize the char encoding support, it registers the
        default encoding supported. NOTE: while public, this
        function usually doesn't need to be called in normal
         processing.

    initGlobals()
        Additional initialisation for multi-threading

    initParser()
        Initialization function for the XML parser. This is not
        reentrant. Call once before processing in case of use in
         multithreaded programs.

    initializeCatalog()
        Do the catalog initialization. this function is not thread
        safe, catalog initialization should preferably be done once
         at startup

    initializeDict()
        Do the dictionary mutex initialization. this function is
        deprecated

    initializePredefinedEntities()
        Set up the predefined entities. Deprecated call

    isBaseChar(ch)
        This function is DEPRECATED. Use xmlIsBaseChar_ch or
        xmlIsBaseCharQ instead

    isBlank(ch)
        This function is DEPRECATED. Use xmlIsBlank_ch or
        xmlIsBlankQ instead

    isChar(ch)
        This function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ
        instead

    isCombining(ch)
        This function is DEPRECATED. Use xmlIsCombiningQ instead

    isDigit(ch)
        This function is DEPRECATED. Use xmlIsDigit_ch or
        xmlIsDigitQ instead

    isExtender(ch)
        This function is DEPRECATED. Use xmlIsExtender_ch or
        xmlIsExtenderQ instead

    isIdeographic(ch)
        This function is DEPRECATED. Use xmlIsIdeographicQ instead

    isLetter(c)
        Check whether the character is allowed by the production
        [84] Letter ::= BaseChar | Ideographic

    isPubidChar(ch)
        This function is DEPRECATED. Use xmlIsPubidChar_ch or
        xmlIsPubidCharQ instead

    isXHTML(systemID, publicID)
        Try to find if the document correspond to an XHTML DTD

    keepBlanksDefault(val)
        Set and return the previous value for default blanks text
        nodes support. The 1.x version of the parser used an
        heuristic to try to detect ignorable white spaces. As a
        result the SAX callback was generating
        xmlSAX2IgnorableWhitespace() callbacks instead of
        characters() one, and when using the DOM output text nodes
        containing those blanks were not generated. The 2.x and
        later version will switch to the XML standard way and
        ignorableWhitespace() are only generated when running the
        parser in validating mode and when the current element
        doesn't allow CDATA or mixed content. This function is
        provided as a way to force the standard behavior on 1.X
        libs and to switch back to the old mode for compatibility
        when running 1.X client code on 2.X . Upgrade of 1.X code
        should be done by using xmlIsBlankNode() commodity function
        to detect the "empty" nodes generated. This value also
        affect autogeneration of indentation when saving code if
         blanks sections are kept, indentation is not generated.

    lastError()
        Get the last global error registered. This is per thread if
        compiled with thread support.

    lineNumbersDefault(val)
        Set and return the previous value for enabling line numbers
        in elements contents. This may break on old application and
         is turned off by default.

    loadACatalog(filename)
        Load the catalog and build the associated data structures.
        This can be either an XML Catalog or an SGML Catalog It
        will recurse in SGML CATALOG entries. On the other hand XML
         Catalogs are not handled recursively.

    loadCatalog(filename)
        Load the catalog and makes its definitions effective for
        the default external entity loader. It will recurse in SGML
        CATALOG entries. this function is not thread safe, catalog
         initialization should preferably be done once at startup

    loadCatalogs(pathss)
        Load the catalogs and makes their definitions effective for
        the default external entity loader. this function is not
        thread safe, catalog initialization should preferably be
         done once at startup

    loadSGMLSuperCatalog(filename)
        Load an SGML super catalog. It won't expand CATALOG or
        DELEGATE references. This is only needed for manipulating
        SGML Super Catalogs like adding and removing CATALOG or
         DELEGATE entries.

    memoryUsed()
        Returns the total amount of memory allocated by libxml2

    namePop(ctxt)
        Pops the top element name from the name stack

    namePush(ctxt, value)
        Pushes a new element name on top of the name stack

    nanoFTPCleanup()
        Cleanup the FTP protocol layer. This cleanup proxy
        information.

    nanoFTPInit()
        Initialize the FTP protocol layer. Currently it just checks
        for proxy information, and get the hostname

    nanoFTPProxy(host, port, user, passwd, type)
        Setup the FTP proxy information. This can also be done by
        using ftp_proxy ftp_proxy_user and ftp_proxy_password
         environment variables.

    nanoFTPScanProxy(URL)
        (Re)Initialize the FTP Proxy context by parsing the URL and
        finding the protocol host port it indicates. Should be like
        ftp://myproxy/ or ftp://myproxy:3128/ A None URL cleans up
         proxy information.

    nanoHTTPCleanup()
        Cleanup the HTTP protocol layer.

    nanoHTTPInit()
        Initialize the HTTP protocol layer. Currently it just
        checks for proxy information

    nanoHTTPScanProxy(URL)
        (Re)Initialize the HTTP Proxy context by parsing the URL
        and finding the protocol host port it indicates. Should be
        like http://myproxy/ or http://myproxy:3128/ A None URL
         cleans up proxy information.

    newCatalog(sgml)
        create a new Catalog.

    newComment(content)
        Creation of a new node containing a comment.

    newDoc(version)
        Creates a new XML document

    newNode(name)
        Create a new Node

    newPI(name, content)
        Creation of a processing instruction element. Use
        xmlDocNewPI preferably to get string interning

    newParserCtxt()
        Allocate and initialize a new parser context.

    newText(content)
        Creation of a new text node.

    newTextLen(content, len)
        Creation of a new text node with an extra parameter for the
        content's length

    newTextReaderFilename(URI)
        Create an xmlTextReader structure fed with the resource at
        @URI

    newValidCtxt()
        Allocate a validation context structure.

    nodePop(ctxt)
        Pops the top element node from the node stack

    nodePush(ctxt, value)
        Pushes a new element node on top of the node stack

    nodeWrap(o)
        # converters to present a nicer view of the XPath returns

    normalizeURIPath(path)
        Applies the 5 normalization steps to a path string--that
        is, RFC 2396 Section 5.2, steps 6.c through 6.g.
        Normalization occurs directly on the string, no new
         allocation is done

    normalizeWindowsPath(path)
        This function is obsolete. Please see xmlURIFromPath in
        uri.c for a better solution.

    parseCatalogFile(filename)
        parse an XML file and build a tree. It's like
        xmlParseFile() except it bypass all catalog lookups.

    parseDTD(ExternalID, SystemID)
        Load and parse an external subset.

    parseDoc(cur)
        parse an XML in-memory document and build a tree.

    parseEntity(filename)
        parse an XML external entity out of context and build a
        tree.  [78] extParsedEnt ::= TextDecl? content  This
         correspond to a "Well Balanced" chunk

    parseFile(filename)
        parse an XML file and build a tree. Automatic support for
        ZLIB/Compress compressed document is provided by default if
         found at compile-time.

    parseMemory(buffer, size)
        parse an XML in-memory block and build a tree.

    parseURI(str)
        Parse an URI based on RFC 3986  URI-reference = [
        absoluteURI | relativeURI ] [ "#" fragment ]

    parseURIRaw(str, raw)
        Parse an URI but allows to keep intact the original
        fragments.  URI-reference = URI / relative-ref

    parserGetDirectory(filename)
        lookup the directory for that file

    pathToURI(path)
        Constructs an URI expressing the existing path

    pedanticParserDefault(val)
        Set and return the previous value for enabling pedantic
        warnings.

    popInputCallbacks()

    popOutputCallbacks()
        Remove the top output callbacks from the output stack. This
        includes the compiled-in I/O.

    pos_id(o)
        # id() is sometimes negative ...

    predefinedEntity(name)
        Check whether this name is an predefined entity.

    pythonCleanupParser()
        Cleanup function for the XML library. It tries to reclaim
        all parsing related global memory allocated for the library
        processing. It doesn't deallocate any document related
        memory. Calling this function should not prevent reusing
        the library but one should call xmlCleanupParser() only
        when the process has finished using the library or XML
         document built with it.

    readDoc(cur, URL, encoding, options)
        parse an XML in-memory document and build a tree.

    readFd(fd, URL, encoding, options)
        parse an XML from a file descriptor and build a tree. NOTE
        that the file descriptor will not be closed when the reader
         is closed or reset.

    readFile(filename, encoding, options)
        parse an XML file from the filesystem or the network.

    readMemory(buffer, size, URL, encoding, options)
        parse an XML in-memory document and build a tree.

    readerForDoc(cur, URL, encoding, options)
        Create an xmltextReader for an XML in-memory document. The
        parsing flags @options are a combination of xmlParserOption.

    readerForFd(fd, URL, encoding, options)
        Create an xmltextReader for an XML from a file descriptor.
        The parsing flags @options are a combination of
        xmlParserOption. NOTE that the file descriptor will not be
         closed when the reader is closed or reset.

    readerForFile(filename, encoding, options)
        parse an XML file from the filesystem or the network. The
        parsing flags @options are a combination of xmlParserOption.

    readerForMemory(buffer, size, URL, encoding, options)
        Create an xmltextReader for an XML in-memory document. The
        parsing flags @options are a combination of xmlParserOption.

    recoverDoc(cur)
        parse an XML in-memory document and build a tree. In the
        case the document is not Well Formed, a attempt to build a
         tree is tried anyway

    recoverFile(filename)
        parse an XML file and build a tree. Automatic support for
        ZLIB/Compress compressed document is provided by default if
        found at compile-time. In the case the document is not Well
         Formed, it attempts to build a tree anyway

    recoverMemory(buffer, size)
        parse an XML in-memory block and build a tree. In the case
        the document is not Well Formed, an attempt to build a tree
         is tried anyway

    regexpCompile(regexp)
        Parses a regular expression conforming to XML Schemas Part
        2 Datatype Appendix F and builds an automata suitable for
         testing strings against that regular expression

    registerDefaultInputCallbacks()
        Registers the default compiled-in I/O handlers.

    registerDefaultOutputCallbacks()
        Registers the default compiled-in I/O handlers.

    registerErrorHandler(f, ctx)
        Register a Python written function to for error reporting.
        The function is called back as f(ctx, error).

    registerHTTPPostCallbacks()
        By default, libxml submits HTTP output requests using the
        "PUT" method. Calling this method changes the HTTP output
         method to use the "POST" method instead.

    registerInputCallback(func)

    registerXPathFunction(ctxt, name, ns_uri, f)
        # register an XPath function

    relaxNGCleanupTypes()
        Cleanup the default Schemas type library associated to
        RelaxNG

    relaxNGInitTypes()
        Initialize the default type libraries.

    relaxNGNewMemParserCtxt(buffer, size)
        Create an XML RelaxNGs parse context for that memory buffer
        expected to contain an XML RelaxNGs file.

    relaxNGNewParserCtxt(URL)
        Create an XML RelaxNGs parse context for that file/resource
        expected to contain an XML RelaxNGs file.

    resetLastError()
        Cleanup the last global error registered. For parsing error
        this does not change the well-formedness result.

    schemaCleanupTypes()
        Cleanup the default XML Schemas type library

    schemaCollapseString(value)
        Removes and normalize white spaces in the string

    schemaInitTypes()
        Initialize the default XML Schemas type library

    schemaNewMemParserCtxt(buffer, size)
        Create an XML Schemas parse context for that memory buffer
        expected to contain an XML Schemas file.

    schemaNewParserCtxt(URL)
        Create an XML Schemas parse context for that file/resource
        expected to contain an XML Schemas file.

    schemaWhiteSpaceReplace(value)
        Replaces 0xd, 0x9 and 0xa with a space.

    setCompressMode(mode)
        set the default compression mode used, ZLIB based Correct
        values: 0 (uncompressed) to 9 (max compression)

    setEntityLoader(resolver)
        Set the entity resolver as a python function

    shellPrintXPathError(errorType, arg)
        Print the xpath error to libxml default error channel

    substituteEntitiesDefault(val)
        Set and return the previous value for default entity
        support. Initially the parser always keep entity references
        instead of substituting entity values in the output. This
        function has to be used to change the default parser
        behavior SAX::substituteEntities() has to be used for
         changing that on a file by file basis.

    thrDefDefaultBufferSize(v)

    thrDefDoValidityCheckingDefaultValue(v)

    thrDefGetWarningsDefaultValue(v)

    thrDefIndentTreeOutput(v)

    thrDefKeepBlanksDefaultValue(v)

    thrDefLineNumbersDefaultValue(v)

    thrDefLoadExtDtdDefaultValue(v)

    thrDefParserDebugEntities(v)

    thrDefPedanticParserDefaultValue(v)

    thrDefSaveNoEmptyTags(v)

    thrDefSubstituteEntitiesDefaultValue(v)

    thrDefTreeIndentString(v)

    uCSIsAegeanNumbers(code)
        Check whether the character is part of AegeanNumbers UCS
        Block

    uCSIsAlphabeticPresentationForms(code)
        Check whether the character is part of
        AlphabeticPresentationForms UCS Block

    uCSIsArabic(code)
        Check whether the character is part of Arabic UCS Block

    uCSIsArabicPresentationFormsA(code)
        Check whether the character is part of
        ArabicPresentationForms-A UCS Block

    uCSIsArabicPresentationFormsB(code)
        Check whether the character is part of
        ArabicPresentationForms-B UCS Block

    uCSIsArmenian(code)
        Check whether the character is part of Armenian UCS Block

    uCSIsArrows(code)
        Check whether the character is part of Arrows UCS Block

    uCSIsBasicLatin(code)
        Check whether the character is part of BasicLatin UCS Block

    uCSIsBengali(code)
        Check whether the character is part of Bengali UCS Block

    uCSIsBlock(code, block)
        Check whether the character is part of the UCS Block

    uCSIsBlockElements(code)
        Check whether the character is part of BlockElements UCS
        Block

    uCSIsBopomofo(code)
        Check whether the character is part of Bopomofo UCS Block

    uCSIsBopomofoExtended(code)
        Check whether the character is part of BopomofoExtended UCS
        Block

    uCSIsBoxDrawing(code)
        Check whether the character is part of BoxDrawing UCS Block

    uCSIsBraillePatterns(code)
        Check whether the character is part of BraillePatterns UCS
        Block

    uCSIsBuhid(code)
        Check whether the character is part of Buhid UCS Block

    uCSIsByzantineMusicalSymbols(code)
        Check whether the character is part of
        ByzantineMusicalSymbols UCS Block

    uCSIsCJKCompatibility(code)
        Check whether the character is part of CJKCompatibility UCS
        Block

    uCSIsCJKCompatibilityForms(code)
        Check whether the character is part of
        CJKCompatibilityForms UCS Block

    uCSIsCJKCompatibilityIdeographs(code)
        Check whether the character is part of
        CJKCompatibilityIdeographs UCS Block

    uCSIsCJKCompatibilityIdeographsSupplement(code)
        Check whether the character is part of
        CJKCompatibilityIdeographsSupplement UCS Block

    uCSIsCJKRadicalsSupplement(code)
        Check whether the character is part of
        CJKRadicalsSupplement UCS Block

    uCSIsCJKSymbolsandPunctuation(code)
        Check whether the character is part of
        CJKSymbolsandPunctuation UCS Block

    uCSIsCJKUnifiedIdeographs(code)
        Check whether the character is part of CJKUnifiedIdeographs
        UCS Block

    uCSIsCJKUnifiedIdeographsExtensionA(code)
        Check whether the character is part of
        CJKUnifiedIdeographsExtensionA UCS Block

    uCSIsCJKUnifiedIdeographsExtensionB(code)
        Check whether the character is part of
        CJKUnifiedIdeographsExtensionB UCS Block

    uCSIsCat(code, cat)
        Check whether the character is part of the UCS Category

    uCSIsCatC(code)
        Check whether the character is part of C UCS Category

    uCSIsCatCc(code)
        Check whether the character is part of Cc UCS Category

    uCSIsCatCf(code)
        Check whether the character is part of Cf UCS Category

    uCSIsCatCo(code)
        Check whether the character is part of Co UCS Category

    uCSIsCatCs(code)
        Check whether the character is part of Cs UCS Category

    uCSIsCatL(code)
        Check whether the character is part of L UCS Category

    uCSIsCatLl(code)
        Check whether the character is part of Ll UCS Category

    uCSIsCatLm(code)
        Check whether the character is part of Lm UCS Category

    uCSIsCatLo(code)
        Check whether the character is part of Lo UCS Category

    uCSIsCatLt(code)
        Check whether the character is part of Lt UCS Category

    uCSIsCatLu(code)
        Check whether the character is part of Lu UCS Category

    uCSIsCatM(code)
        Check whether the character is part of M UCS Category

    uCSIsCatMc(code)
        Check whether the character is part of Mc UCS Category

    uCSIsCatMe(code)
        Check whether the character is part of Me UCS Category

    uCSIsCatMn(code)
        Check whether the character is part of Mn UCS Category

    uCSIsCatN(code)
        Check whether the character is part of N UCS Category

    uCSIsCatNd(code)
        Check whether the character is part of Nd UCS Category

    uCSIsCatNl(code)
        Check whether the character is part of Nl UCS Category

    uCSIsCatNo(code)
        Check whether the character is part of No UCS Category

    uCSIsCatP(code)
        Check whether the character is part of P UCS Category

    uCSIsCatPc(code)
        Check whether the character is part of Pc UCS Category

    uCSIsCatPd(code)
        Check whether the character is part of Pd UCS Category

    uCSIsCatPe(code)
        Check whether the character is part of Pe UCS Category

    uCSIsCatPf(code)
        Check whether the character is part of Pf UCS Category

    uCSIsCatPi(code)
        Check whether the character is part of Pi UCS Category

    uCSIsCatPo(code)
        Check whether the character is part of Po UCS Category

    uCSIsCatPs(code)
        Check whether the character is part of Ps UCS Category

    uCSIsCatS(code)
        Check whether the character is part of S UCS Category

    uCSIsCatSc(code)
        Check whether the character is part of Sc UCS Category

    uCSIsCatSk(code)
        Check whether the character is part of Sk UCS Category

    uCSIsCatSm(code)
        Check whether the character is part of Sm UCS Category

    uCSIsCatSo(code)
        Check whether the character is part of So UCS Category

    uCSIsCatZ(code)
        Check whether the character is part of Z UCS Category

    uCSIsCatZl(code)
        Check whether the character is part of Zl UCS Category

    uCSIsCatZp(code)
        Check whether the character is part of Zp UCS Category

    uCSIsCatZs(code)
        Check whether the character is part of Zs UCS Category

    uCSIsCherokee(code)
        Check whether the character is part of Cherokee UCS Block

    uCSIsCombiningDiacriticalMarks(code)
        Check whether the character is part of
        CombiningDiacriticalMarks UCS Block

    uCSIsCombiningDiacriticalMarksforSymbols(code)
        Check whether the character is part of
        CombiningDiacriticalMarksforSymbols UCS Block

    uCSIsCombiningHalfMarks(code)
        Check whether the character is part of CombiningHalfMarks
        UCS Block

    uCSIsCombiningMarksforSymbols(code)
        Check whether the character is part of
        CombiningMarksforSymbols UCS Block

    uCSIsControlPictures(code)
        Check whether the character is part of ControlPictures UCS
        Block

    uCSIsCurrencySymbols(code)
        Check whether the character is part of CurrencySymbols UCS
        Block

    uCSIsCypriotSyllabary(code)
        Check whether the character is part of CypriotSyllabary UCS
        Block

    uCSIsCyrillic(code)
        Check whether the character is part of Cyrillic UCS Block

    uCSIsCyrillicSupplement(code)
        Check whether the character is part of CyrillicSupplement
        UCS Block

    uCSIsDeseret(code)
        Check whether the character is part of Deseret UCS Block

    uCSIsDevanagari(code)
        Check whether the character is part of Devanagari UCS Block

    uCSIsDingbats(code)
        Check whether the character is part of Dingbats UCS Block

    uCSIsEnclosedAlphanumerics(code)
        Check whether the character is part of
        EnclosedAlphanumerics UCS Block

    uCSIsEnclosedCJKLettersandMonths(code)
        Check whether the character is part of
        EnclosedCJKLettersandMonths UCS Block

    uCSIsEthiopic(code)
        Check whether the character is part of Ethiopic UCS Block

    uCSIsGeneralPunctuation(code)
        Check whether the character is part of GeneralPunctuation
        UCS Block

    uCSIsGeometricShapes(code)
        Check whether the character is part of GeometricShapes UCS
        Block

    uCSIsGeorgian(code)
        Check whether the character is part of Georgian UCS Block

    uCSIsGothic(code)
        Check whether the character is part of Gothic UCS Block

    uCSIsGreek(code)
        Check whether the character is part of Greek UCS Block

    uCSIsGreekExtended(code)
        Check whether the character is part of GreekExtended UCS
        Block

    uCSIsGreekandCoptic(code)
        Check whether the character is part of GreekandCoptic UCS
        Block

    uCSIsGujarati(code)
        Check whether the character is part of Gujarati UCS Block

    uCSIsGurmukhi(code)
        Check whether the character is part of Gurmukhi UCS Block

    uCSIsHalfwidthandFullwidthForms(code)
        Check whether the character is part of
        HalfwidthandFullwidthForms UCS Block

    uCSIsHangulCompatibilityJamo(code)
        Check whether the character is part of
        HangulCompatibilityJamo UCS Block

    uCSIsHangulJamo(code)
        Check whether the character is part of HangulJamo UCS Block

    uCSIsHangulSyllables(code)
        Check whether the character is part of HangulSyllables UCS
        Block

    uCSIsHanunoo(code)
        Check whether the character is part of Hanunoo UCS Block

    uCSIsHebrew(code)
        Check whether the character is part of Hebrew UCS Block

    uCSIsHighPrivateUseSurrogates(code)
        Check whether the character is part of
        HighPrivateUseSurrogates UCS Block

    uCSIsHighSurrogates(code)
        Check whether the character is part of HighSurrogates UCS
        Block

    uCSIsHiragana(code)
        Check whether the character is part of Hiragana UCS Block

    uCSIsIPAExtensions(code)
        Check whether the character is part of IPAExtensions UCS
        Block

    uCSIsIdeographicDescriptionCharacters(code)
        Check whether the character is part of
        IdeographicDescriptionCharacters UCS Block

    uCSIsKanbun(code)
        Check whether the character is part of Kanbun UCS Block

    uCSIsKangxiRadicals(code)
        Check whether the character is part of KangxiRadicals UCS
        Block

    uCSIsKannada(code)
        Check whether the character is part of Kannada UCS Block

    uCSIsKatakana(code)
        Check whether the character is part of Katakana UCS Block

    uCSIsKatakanaPhoneticExtensions(code)
        Check whether the character is part of
        KatakanaPhoneticExtensions UCS Block

    uCSIsKhmer(code)
        Check whether the character is part of Khmer UCS Block

    uCSIsKhmerSymbols(code)
        Check whether the character is part of KhmerSymbols UCS
        Block

    uCSIsLao(code)
        Check whether the character is part of Lao UCS Block

    uCSIsLatin1Supplement(code)
        Check whether the character is part of Latin-1Supplement
        UCS Block

    uCSIsLatinExtendedA(code)
        Check whether the character is part of LatinExtended-A UCS
        Block

    uCSIsLatinExtendedAdditional(code)
        Check whether the character is part of
        LatinExtendedAdditional UCS Block

    uCSIsLatinExtendedB(code)
        Check whether the character is part of LatinExtended-B UCS
        Block

    uCSIsLetterlikeSymbols(code)
        Check whether the character is part of LetterlikeSymbols
        UCS Block

    uCSIsLimbu(code)
        Check whether the character is part of Limbu UCS Block

    uCSIsLinearBIdeograms(code)
        Check whether the character is part of LinearBIdeograms UCS
        Block

    uCSIsLinearBSyllabary(code)
        Check whether the character is part of LinearBSyllabary UCS
        Block

    uCSIsLowSurrogates(code)
        Check whether the character is part of LowSurrogates UCS
        Block

    uCSIsMalayalam(code)
        Check whether the character is part of Malayalam UCS Block

    uCSIsMathematicalAlphanumericSymbols(code)
        Check whether the character is part of
        MathematicalAlphanumericSymbols UCS Block

    uCSIsMathematicalOperators(code)
        Check whether the character is part of
        MathematicalOperators UCS Block

    uCSIsMiscellaneousMathematicalSymbolsA(code)
        Check whether the character is part of
        MiscellaneousMathematicalSymbols-A UCS Block

    uCSIsMiscellaneousMathematicalSymbolsB(code)
        Check whether the character is part of
        MiscellaneousMathematicalSymbols-B UCS Block

    uCSIsMiscellaneousSymbols(code)
        Check whether the character is part of MiscellaneousSymbols
        UCS Block

    uCSIsMiscellaneousSymbolsandArrows(code)
        Check whether the character is part of
        MiscellaneousSymbolsandArrows UCS Block

    uCSIsMiscellaneousTechnical(code)
        Check whether the character is part of
        MiscellaneousTechnical UCS Block

    uCSIsMongolian(code)
        Check whether the character is part of Mongolian UCS Block

    uCSIsMusicalSymbols(code)
        Check whether the character is part of MusicalSymbols UCS
        Block

    uCSIsMyanmar(code)
        Check whether the character is part of Myanmar UCS Block

    uCSIsNumberForms(code)
        Check whether the character is part of NumberForms UCS Block

    uCSIsOgham(code)
        Check whether the character is part of Ogham UCS Block

    uCSIsOldItalic(code)
        Check whether the character is part of OldItalic UCS Block

    uCSIsOpticalCharacterRecognition(code)
        Check whether the character is part of
        OpticalCharacterRecognition UCS Block

    uCSIsOriya(code)
        Check whether the character is part of Oriya UCS Block

    uCSIsOsmanya(code)
        Check whether the character is part of Osmanya UCS Block

    uCSIsPhoneticExtensions(code)
        Check whether the character is part of PhoneticExtensions
        UCS Block

    uCSIsPrivateUse(code)
        Check whether the character is part of PrivateUse UCS Block

    uCSIsPrivateUseArea(code)
        Check whether the character is part of PrivateUseArea UCS
        Block

    uCSIsRunic(code)
        Check whether the character is part of Runic UCS Block

    uCSIsShavian(code)
        Check whether the character is part of Shavian UCS Block

    uCSIsSinhala(code)
        Check whether the character is part of Sinhala UCS Block

    uCSIsSmallFormVariants(code)
        Check whether the character is part of SmallFormVariants
        UCS Block

    uCSIsSpacingModifierLetters(code)
        Check whether the character is part of
        SpacingModifierLetters UCS Block

    uCSIsSpecials(code)
        Check whether the character is part of Specials UCS Block

    uCSIsSuperscriptsandSubscripts(code)
        Check whether the character is part of
        SuperscriptsandSubscripts UCS Block

    uCSIsSupplementalArrowsA(code)
        Check whether the character is part of SupplementalArrows-A
        UCS Block

    uCSIsSupplementalArrowsB(code)
        Check whether the character is part of SupplementalArrows-B
        UCS Block

    uCSIsSupplementalMathematicalOperators(code)
        Check whether the character is part of
        SupplementalMathematicalOperators UCS Block

    uCSIsSupplementaryPrivateUseAreaA(code)
        Check whether the character is part of
        SupplementaryPrivateUseArea-A UCS Block

    uCSIsSupplementaryPrivateUseAreaB(code)
        Check whether the character is part of
        SupplementaryPrivateUseArea-B UCS Block

    uCSIsSyriac(code)
        Check whether the character is part of Syriac UCS Block

    uCSIsTagalog(code)
        Check whether the character is part of Tagalog UCS Block

    uCSIsTagbanwa(code)
        Check whether the character is part of Tagbanwa UCS Block

    uCSIsTags(code)
        Check whether the character is part of Tags UCS Block

    uCSIsTaiLe(code)
        Check whether the character is part of TaiLe UCS Block

    uCSIsTaiXuanJingSymbols(code)
        Check whether the character is part of TaiXuanJingSymbols
        UCS Block

    uCSIsTamil(code)
        Check whether the character is part of Tamil UCS Block

    uCSIsTelugu(code)
        Check whether the character is part of Telugu UCS Block

    uCSIsThaana(code)
        Check whether the character is part of Thaana UCS Block

    uCSIsThai(code)
        Check whether the character is part of Thai UCS Block

    uCSIsTibetan(code)
        Check whether the character is part of Tibetan UCS Block

    uCSIsUgaritic(code)
        Check whether the character is part of Ugaritic UCS Block

    uCSIsUnifiedCanadianAboriginalSyllabics(code)
        Check whether the character is part of
        UnifiedCanadianAboriginalSyllabics UCS Block

    uCSIsVariationSelectors(code)
        Check whether the character is part of VariationSelectors
        UCS Block

    uCSIsVariationSelectorsSupplement(code)
        Check whether the character is part of
        VariationSelectorsSupplement UCS Block

    uCSIsYiRadicals(code)
        Check whether the character is part of YiRadicals UCS Block

    uCSIsYiSyllables(code)
        Check whether the character is part of YiSyllables UCS Block

    uCSIsYijingHexagramSymbols(code)
        Check whether the character is part of
        YijingHexagramSymbols UCS Block

    validateNCName(value, space)
        Check that a value conforms to the lexical space of NCName

    validateNMToken(value, space)
        Check that a value conforms to the lexical space of NMToken

    validateName(value, space)
        Check that a value conforms to the lexical space of Name

    validateNameValue(value)
        Validate that the given value match Name production

    validateNamesValue(value)
        Validate that the given value match Names production

    validateNmtokenValue(value)
        Validate that the given value match Nmtoken production  [
        VC: Name Token ]

    validateNmtokensValue(value)
        Validate that the given value match Nmtokens production  [
        VC: Name Token ]

    validateQName(value, space)
        Check that a value conforms to the lexical space of QName

    valuePop(ctxt)
        Pops the top XPath object from the value stack

    xpathObjectRet(o)

DATA
    HTML_DEPRECATED = 2
    HTML_INVALID = 1
    HTML_NA = 0
    HTML_PARSE_COMPACT = 65536
    HTML_PARSE_IGNORE_ENC = 2097152
    HTML_PARSE_NOBLANKS = 256
    HTML_PARSE_NODEFDTD = 4
    HTML_PARSE_NOERROR = 32
    HTML_PARSE_NOIMPLIED = 8192
    HTML_PARSE_NONET = 2048
    HTML_PARSE_NOWARNING = 64
    HTML_PARSE_PEDANTIC = 128
    HTML_PARSE_RECOVER = 1
    HTML_REQUIRED = 12
    HTML_VALID = 4
    PARSER_DEFAULTATTRS = 2
    PARSER_LOADDTD = 1
    PARSER_SEVERITY_ERROR = 4
    PARSER_SEVERITY_VALIDITY_ERROR = 2
    PARSER_SEVERITY_VALIDITY_WARNING = 1
    PARSER_SEVERITY_WARNING = 3
    PARSER_SUBST_ENTITIES = 4
    PARSER_VALIDATE = 3
    XLINK_ACTUATE_AUTO = 1
    XLINK_ACTUATE_NONE = 0
    XLINK_ACTUATE_ONREQUEST = 2
    XLINK_SHOW_EMBED = 2
    XLINK_SHOW_NEW = 1
    XLINK_SHOW_NONE = 0
    XLINK_SHOW_REPLACE = 3
    XLINK_TYPE_EXTENDED = 2
    XLINK_TYPE_EXTENDED_SET = 3
    XLINK_TYPE_NONE = 0
    XLINK_TYPE_SIMPLE = 1
    XML_ATTRIBUTE_CDATA = 1
    XML_ATTRIBUTE_DECL = 16
    XML_ATTRIBUTE_ENTITIES = 6
    XML_ATTRIBUTE_ENTITY = 5
    XML_ATTRIBUTE_ENUMERATION = 9
    XML_ATTRIBUTE_FIXED = 4
    XML_ATTRIBUTE_ID = 2
    XML_ATTRIBUTE_IDREF = 3
    XML_ATTRIBUTE_IDREFS = 4
    XML_ATTRIBUTE_IMPLIED = 3
    XML_ATTRIBUTE_NMTOKEN = 7
    XML_ATTRIBUTE_NMTOKENS = 8
    XML_ATTRIBUTE_NODE = 2
    XML_ATTRIBUTE_NONE = 1
    XML_ATTRIBUTE_NOTATION = 10
    XML_ATTRIBUTE_REQUIRED = 2
    XML_BUFFER_ALLOC_BOUNDED = 6
    XML_BUFFER_ALLOC_DOUBLEIT = 1
    XML_BUFFER_ALLOC_EXACT = 2
    XML_BUFFER_ALLOC_HYBRID = 5
    XML_BUFFER_ALLOC_IMMUTABLE = 3
    XML_BUFFER_ALLOC_IO = 4
    XML_BUF_OVERFLOW = 7000
    XML_C14N_1_0 = 0
    XML_C14N_1_1 = 2
    XML_C14N_CREATE_CTXT = 1950
    XML_C14N_CREATE_STACK = 1952
    XML_C14N_EXCLUSIVE_1_0 = 1
    XML_C14N_INVALID_NODE = 1953
    XML_C14N_RELATIVE_NAMESPACE = 1955
    XML_C14N_REQUIRES_UTF8 = 1951
    XML_C14N_UNKNOW_NODE = 1954
    XML_CATALOG_ENTRY_BROKEN = 1651
    XML_CATALOG_MISSING_ATTR = 1650
    XML_CATALOG_NOT_CATALOG = 1653
    XML_CATALOG_PREFER_VALUE = 1652
    XML_CATALOG_RECURSION = 1654
    XML_CATA_ALLOW_ALL = 3
    XML_CATA_ALLOW_DOCUMENT = 2
    XML_CATA_ALLOW_GLOBAL = 1
    XML_CATA_ALLOW_NONE = 0
    XML_CATA_PREFER_NONE = 0
    XML_CATA_PREFER_PUBLIC = 1
    XML_CATA_PREFER_SYSTEM = 2
    XML_CDATA_SECTION_NODE = 4
    XML_CHAR_ENCODING_2022_JP = 19
    XML_CHAR_ENCODING_8859_1 = 10
    XML_CHAR_ENCODING_8859_2 = 11
    XML_CHAR_ENCODING_8859_3 = 12
    XML_CHAR_ENCODING_8859_4 = 13
    XML_CHAR_ENCODING_8859_5 = 14
    XML_CHAR_ENCODING_8859_6 = 15
    XML_CHAR_ENCODING_8859_7 = 16
    XML_CHAR_ENCODING_8859_8 = 17
    XML_CHAR_ENCODING_8859_9 = 18
    XML_CHAR_ENCODING_ASCII = 22
    XML_CHAR_ENCODING_EBCDIC = 6
    XML_CHAR_ENCODING_ERROR = -1
    XML_CHAR_ENCODING_EUC_JP = 21
    XML_CHAR_ENCODING_NONE = 0
    XML_CHAR_ENCODING_SHIFT_JIS = 20
    XML_CHAR_ENCODING_UCS2 = 9
    XML_CHAR_ENCODING_UCS4BE = 5
    XML_CHAR_ENCODING_UCS4LE = 4
    XML_CHAR_ENCODING_UCS4_2143 = 7
    XML_CHAR_ENCODING_UCS4_3412 = 8
    XML_CHAR_ENCODING_UTF16BE = 3
    XML_CHAR_ENCODING_UTF16LE = 2
    XML_CHAR_ENCODING_UTF8 = 1
    XML_CHECK_ENTITY_TYPE = 5012
    XML_CHECK_FOUND_ATTRIBUTE = 5001
    XML_CHECK_FOUND_CDATA = 5003
    XML_CHECK_FOUND_COMMENT = 5007
    XML_CHECK_FOUND_DOCTYPE = 5008
    XML_CHECK_FOUND_ELEMENT = 5000
    XML_CHECK_FOUND_ENTITY = 5005
    XML_CHECK_FOUND_ENTITYREF = 5004
    XML_CHECK_FOUND_FRAGMENT = 5009
    XML_CHECK_FOUND_NOTATION = 5010
    XML_CHECK_FOUND_PI = 5006
    XML_CHECK_FOUND_TEXT = 5002
    XML_CHECK_NAME_NOT_NULL = 5037
    XML_CHECK_NOT_ATTR = 5023
    XML_CHECK_NOT_ATTR_DECL = 5024
    XML_CHECK_NOT_DTD = 5022
    XML_CHECK_NOT_ELEM_DECL = 5025
    XML_CHECK_NOT_ENTITY_DECL = 5026
    XML_CHECK_NOT_NCNAME = 5034
    XML_CHECK_NOT_NS_DECL = 5027
    XML_CHECK_NOT_UTF8 = 5032
    XML_CHECK_NO_DICT = 5033
    XML_CHECK_NO_DOC = 5014
    XML_CHECK_NO_ELEM = 5016
    XML_CHECK_NO_HREF = 5028
    XML_CHECK_NO_NAME = 5015
    XML_CHECK_NO_NEXT = 5020
    XML_CHECK_NO_PARENT = 5013
    XML_CHECK_NO_PREV = 5018
    XML_CHECK_NS_ANCESTOR = 5031
    XML_CHECK_NS_SCOPE = 5030
    XML_CHECK_OUTSIDE_DICT = 5035
    XML_CHECK_UNKNOWN_NODE = 5011
    XML_CHECK_WRONG_DOC = 5017
    XML_CHECK_WRONG_NAME = 5036
    XML_CHECK_WRONG_NEXT = 5021
    XML_CHECK_WRONG_PARENT = 5029
    XML_CHECK_WRONG_PREV = 5019
    XML_COMMENT_NODE = 8
    XML_DOCB_DOCUMENT_NODE = 21
    XML_DOCUMENT_FRAG_NODE = 11
    XML_DOCUMENT_NODE = 9
    XML_DOCUMENT_TYPE_NODE = 10
    XML_DOC_DTDVALID = 8
    XML_DOC_HTML = 128
    XML_DOC_INTERNAL = 64
    XML_DOC_NSVALID = 2
    XML_DOC_OLD10 = 4
    XML_DOC_USERBUILT = 32
    XML_DOC_WELLFORMED = 1
    XML_DOC_XINCLUDE = 16
    XML_DTD_ATTRIBUTE_DEFAULT = 500
    XML_DTD_ATTRIBUTE_REDEFINED = 501
    XML_DTD_ATTRIBUTE_VALUE = 502
    XML_DTD_CONTENT_ERROR = 503
    XML_DTD_CONTENT_MODEL = 504
    XML_DTD_CONTENT_NOT_DETERMINIST = 505
    XML_DTD_DIFFERENT_PREFIX = 506
    XML_DTD_DUP_TOKEN = 541
    XML_DTD_ELEM_DEFAULT_NAMESPACE = 507
    XML_DTD_ELEM_NAMESPACE = 508
    XML_DTD_ELEM_REDEFINED = 509
    XML_DTD_EMPTY_NOTATION = 510
    XML_DTD_ENTITY_TYPE = 511
    XML_DTD_ID_FIXED = 512
    XML_DTD_ID_REDEFINED = 513
    XML_DTD_ID_SUBSET = 514
    XML_DTD_INVALID_CHILD = 515
    XML_DTD_INVALID_DEFAULT = 516
    XML_DTD_LOAD_ERROR = 517
    XML_DTD_MISSING_ATTRIBUTE = 518
    XML_DTD_MIXED_CORRUPT = 519
    XML_DTD_MULTIPLE_ID = 520
    XML_DTD_NODE = 14
    XML_DTD_NOTATION_REDEFINED = 526
    XML_DTD_NOTATION_VALUE = 527
    XML_DTD_NOT_EMPTY = 528
    XML_DTD_NOT_PCDATA = 529
    XML_DTD_NOT_STANDALONE = 530
    XML_DTD_NO_DOC = 521
    XML_DTD_NO_DTD = 522
    XML_DTD_NO_ELEM_NAME = 523
    XML_DTD_NO_PREFIX = 524
    XML_DTD_NO_ROOT = 525
    XML_DTD_ROOT_NAME = 531
    XML_DTD_STANDALONE_DEFAULTED = 538
    XML_DTD_STANDALONE_WHITE_SPACE = 532
    XML_DTD_UNKNOWN_ATTRIBUTE = 533
    XML_DTD_UNKNOWN_ELEM = 534
    XML_DTD_UNKNOWN_ENTITY = 535
    XML_DTD_UNKNOWN_ID = 536
    XML_DTD_UNKNOWN_NOTATION = 537
    XML_DTD_XMLID_TYPE = 540
    XML_DTD_XMLID_VALUE = 539
    XML_ELEMENT_CONTENT_ELEMENT = 2
    XML_ELEMENT_CONTENT_MULT = 3
    XML_ELEMENT_CONTENT_ONCE = 1
    XML_ELEMENT_CONTENT_OPT = 2
    XML_ELEMENT_CONTENT_OR = 4
    XML_ELEMENT_CONTENT_PCDATA = 1
    XML_ELEMENT_CONTENT_PLUS = 4
    XML_ELEMENT_CONTENT_SEQ = 3
    XML_ELEMENT_DECL = 15
    XML_ELEMENT_NODE = 1
    XML_ELEMENT_TYPE_ANY = 2
    XML_ELEMENT_TYPE_ELEMENT = 4
    XML_ELEMENT_TYPE_EMPTY = 1
    XML_ELEMENT_TYPE_MIXED = 3
    XML_ELEMENT_TYPE_UNDEFINED = 0
    XML_ENTITY_DECL = 17
    XML_ENTITY_NODE = 6
    XML_ENTITY_REF_NODE = 5
    XML_ERR_ATTLIST_NOT_FINISHED = 51
    XML_ERR_ATTLIST_NOT_STARTED = 50
    XML_ERR_ATTRIBUTE_NOT_FINISHED = 40
    XML_ERR_ATTRIBUTE_NOT_STARTED = 39
    XML_ERR_ATTRIBUTE_REDEFINED = 42
    XML_ERR_ATTRIBUTE_WITHOUT_VALUE = 41
    XML_ERR_CDATA_NOT_FINISHED = 63
    XML_ERR_CHARREF_AT_EOF = 10
    XML_ERR_CHARREF_IN_DTD = 13
    XML_ERR_CHARREF_IN_EPILOG = 12
    XML_ERR_CHARREF_IN_PROLOG = 11
    XML_ERR_COMMENT_NOT_FINISHED = 45
    XML_ERR_CONDSEC_INVALID = 83
    XML_ERR_CONDSEC_INVALID_KEYWORD = 95
    XML_ERR_CONDSEC_NOT_FINISHED = 59
    XML_ERR_CONDSEC_NOT_STARTED = 58
    XML_ERR_DOCTYPE_NOT_FINISHED = 61
    XML_ERR_DOCUMENT_EMPTY = 4
    XML_ERR_DOCUMENT_END = 5
    XML_ERR_DOCUMENT_START = 3
    XML_ERR_ELEMCONTENT_NOT_FINISHED = 55
    XML_ERR_ELEMCONTENT_NOT_STARTED = 54
    XML_ERR_ENCODING_NAME = 79
    XML_ERR_ENTITYREF_AT_EOF = 14
    XML_ERR_ENTITYREF_IN_DTD = 17
    XML_ERR_ENTITYREF_IN_EPILOG = 16
    XML_ERR_ENTITYREF_IN_PROLOG = 15
    XML_ERR_ENTITYREF_NO_NAME = 22
    XML_ERR_ENTITYREF_SEMICOL_MISSING = 23
    XML_ERR_ENTITY_BOUNDARY = 90
    XML_ERR_ENTITY_CHAR_ERROR = 87
    XML_ERR_ENTITY_IS_EXTERNAL = 29
    XML_ERR_ENTITY_IS_PARAMETER = 30
    XML_ERR_ENTITY_LOOP = 89
    XML_ERR_ENTITY_NOT_FINISHED = 37
    XML_ERR_ENTITY_NOT_STARTED = 36
    XML_ERR_ENTITY_PE_INTERNAL = 88
    XML_ERR_ENTITY_PROCESSING = 104
    XML_ERR_EQUAL_REQUIRED = 75
    XML_ERR_ERROR = 2
    XML_ERR_EXTRA_CONTENT = 86
    XML_ERR_EXT_ENTITY_STANDALONE = 82
    XML_ERR_EXT_SUBSET_NOT_FINISHED = 60
    XML_ERR_FATAL = 3
    XML_ERR_GT_REQUIRED = 73
    XML_ERR_HYPHEN_IN_COMMENT = 80
    XML_ERR_INTERNAL_ERROR = 1
    XML_ERR_INVALID_CHAR = 9
    XML_ERR_INVALID_CHARREF = 8
    XML_ERR_INVALID_DEC_CHARREF = 7
    XML_ERR_INVALID_ENCODING = 81
    XML_ERR_INVALID_HEX_CHARREF = 6
    XML_ERR_INVALID_URI = 91
    XML_ERR_LITERAL_NOT_FINISHED = 44
    XML_ERR_LITERAL_NOT_STARTED = 43
    XML_ERR_LTSLASH_REQUIRED = 74
    XML_ERR_LT_IN_ATTRIBUTE = 38
    XML_ERR_LT_REQUIRED = 72
    XML_ERR_MISPLACED_CDATA_END = 62
    XML_ERR_MISSING_ENCODING = 101
    XML_ERR_MIXED_NOT_FINISHED = 53
    XML_ERR_MIXED_NOT_STARTED = 52
    XML_ERR_NAME_REQUIRED = 68
    XML_ERR_NAME_TOO_LONG = 110
    XML_ERR_NMTOKEN_REQUIRED = 67
    XML_ERR_NONE = 0
    XML_ERR_NOTATION_NOT_FINISHED = 49
    XML_ERR_NOTATION_NOT_STARTED = 48
    XML_ERR_NOTATION_PROCESSING = 105
    XML_ERR_NOT_STANDALONE = 103
    XML_ERR_NOT_WELL_BALANCED = 85
    XML_ERR_NO_DTD = 94
    XML_ERR_NO_MEMORY = 2
    XML_ERR_NS_DECL_ERROR = 35
    XML_ERR_OK = 0
    XML_ERR_PCDATA_REQUIRED = 69
    XML_ERR_PEREF_AT_EOF = 18
    XML_ERR_PEREF_IN_EPILOG = 20
    XML_ERR_PEREF_IN_INT_SUBSET = 21
    XML_ERR_PEREF_IN_PROLOG = 19
    XML_ERR_PEREF_NO_NAME = 24
    XML_ERR_PEREF_SEMICOL_MISSING = 25
    XML_ERR_PI_NOT_FINISHED = 47
    XML_ERR_PI_NOT_STARTED = 46
    XML_ERR_PUBID_REQUIRED = 71
    XML_ERR_RESERVED_XML_NAME = 64
    XML_ERR_SEPARATOR_REQUIRED = 66
    XML_ERR_SPACE_REQUIRED = 65
    XML_ERR_STANDALONE_VALUE = 78
    XML_ERR_STRING_NOT_CLOSED = 34
    XML_ERR_STRING_NOT_STARTED = 33
    XML_ERR_TAG_NAME_MISMATCH = 76
    XML_ERR_TAG_NOT_FINISHED = 77
    XML_ERR_UNDECLARED_ENTITY = 26
    XML_ERR_UNKNOWN_ENCODING = 31
    XML_ERR_UNKNOWN_VERSION = 108
    XML_ERR_UNPARSED_ENTITY = 28
    XML_ERR_UNSUPPORTED_ENCODING = 32
    XML_ERR_URI_FRAGMENT = 92
    XML_ERR_URI_REQUIRED = 70
    XML_ERR_USER_STOP = 111
    XML_ERR_VALUE_REQUIRED = 84
    XML_ERR_VERSION_MISMATCH = 109
    XML_ERR_VERSION_MISSING = 96
    XML_ERR_WARNING = 1
    XML_ERR_XMLDECL_NOT_FINISHED = 57
    XML_ERR_XMLDECL_NOT_STARTED = 56
    XML_EXP_ATOM = 2
    XML_EXP_COUNT = 5
    XML_EXP_EMPTY = 0
    XML_EXP_FORBID = 1
    XML_EXP_OR = 4
    XML_EXP_SEQ = 3
    XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2
    XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3
    XML_EXTERNAL_PARAMETER_ENTITY = 5
    XML_FROM_BUFFER = 29
    XML_FROM_C14N = 21
    XML_FROM_CATALOG = 20
    XML_FROM_CHECK = 24
    XML_FROM_DATATYPE = 15
    XML_FROM_DTD = 4
    XML_FROM_FTP = 9
    XML_FROM_HTML = 5
    XML_FROM_HTTP = 10
    XML_FROM_I18N = 27
    XML_FROM_IO = 8
    XML_FROM_MEMORY = 6
    XML_FROM_MODULE = 26
    XML_FROM_NAMESPACE = 3
    XML_FROM_NONE = 0
    XML_FROM_OUTPUT = 7
    XML_FROM_PARSER = 1
    XML_FROM_REGEXP = 14
    XML_FROM_RELAXNGP = 18
    XML_FROM_RELAXNGV = 19
    XML_FROM_SCHEMASP = 16
    XML_FROM_SCHEMASV = 17
    XML_FROM_SCHEMATRONV = 28
    XML_FROM_TREE = 2
    XML_FROM_URI = 30
    XML_FROM_VALID = 23
    XML_FROM_WRITER = 25
    XML_FROM_XINCLUDE = 11
    XML_FROM_XPATH = 12
    XML_FROM_XPOINTER = 13
    XML_FROM_XSLT = 22
    XML_FTP_ACCNT = 2002
    XML_FTP_EPSV_ANSWER = 2001
    XML_FTP_PASV_ANSWER = 2000
    XML_FTP_URL_SYNTAX = 2003
    XML_HTML_DOCUMENT_NODE = 13
    XML_HTML_STRUCURE_ERROR = 800
    XML_HTML_UNKNOWN_TAG = 801
    XML_HTTP_UNKNOWN_HOST = 2022
    XML_HTTP_URL_SYNTAX = 2020
    XML_HTTP_USE_IP = 2021
    XML_I18N_CONV_FAILED = 6003
    XML_I18N_EXCESS_HANDLER = 6002
    XML_I18N_NO_HANDLER = 6001
    XML_I18N_NO_NAME = 6000
    XML_I18N_NO_OUTPUT = 6004
    XML_INTERNAL_GENERAL_ENTITY = 1
    XML_INTERNAL_PARAMETER_ENTITY = 4
    XML_INTERNAL_PREDEFINED_ENTITY = 6
    XML_IO_BUFFER_FULL = 1548
    XML_IO_EACCES = 1501
    XML_IO_EADDRINUSE = 1554
    XML_IO_EAFNOSUPPORT = 1556
    XML_IO_EAGAIN = 1502
    XML_IO_EALREADY = 1555
    XML_IO_EBADF = 1503
    XML_IO_EBADMSG = 1504
    XML_IO_EBUSY = 1505
    XML_IO_ECANCELED = 1506
    XML_IO_ECHILD = 1507
    XML_IO_ECONNREFUSED = 1552
    XML_IO_EDEADLK = 1508
    XML_IO_EDOM = 1509
    XML_IO_EEXIST = 1510
    XML_IO_EFAULT = 1511
    XML_IO_EFBIG = 1512
    XML_IO_EINPROGRESS = 1513
    XML_IO_EINTR = 1514
    XML_IO_EINVAL = 1515
    XML_IO_EIO = 1516
    XML_IO_EISCONN = 1551
    XML_IO_EISDIR = 1517
    XML_IO_EMFILE = 1518
    XML_IO_EMLINK = 1519
    XML_IO_EMSGSIZE = 1520
    XML_IO_ENAMETOOLONG = 1521
    XML_IO_ENCODER = 1544
    XML_IO_ENETUNREACH = 1553
    XML_IO_ENFILE = 1522
    XML_IO_ENODEV = 1523
    XML_IO_ENOENT = 1524
    XML_IO_ENOEXEC = 1525
    XML_IO_ENOLCK = 1526
    XML_IO_ENOMEM = 1527
    XML_IO_ENOSPC = 1528
    XML_IO_ENOSYS = 1529
    XML_IO_ENOTDIR = 1530
    XML_IO_ENOTEMPTY = 1531
    XML_IO_ENOTSOCK = 1550
    XML_IO_ENOTSUP = 1532
    XML_IO_ENOTTY = 1533
    XML_IO_ENXIO = 1534
    XML_IO_EPERM = 1535
    XML_IO_EPIPE = 1536
    XML_IO_ERANGE = 1537
    XML_IO_EROFS = 1538
    XML_IO_ESPIPE = 1539
    XML_IO_ESRCH = 1540
    XML_IO_ETIMEDOUT = 1541
    XML_IO_EXDEV = 1542
    XML_IO_FLUSH = 1545
    XML_IO_LOAD_ERROR = 1549
    XML_IO_NETWORK_ATTEMPT = 1543
    XML_IO_NO_INPUT = 1547
    XML_IO_UNKNOWN = 1500
    XML_IO_WRITE = 1546
    XML_MODULE_CLOSE = 4901
    XML_MODULE_LAZY = 1
    XML_MODULE_LOCAL = 2
    XML_MODULE_OPEN = 4900
    XML_NAMESPACE_DECL = 18
    XML_NOTATION_NODE = 12
    XML_NS_ERR_ATTRIBUTE_REDEFINED = 203
    XML_NS_ERR_COLON = 205
    XML_NS_ERR_EMPTY = 204
    XML_NS_ERR_QNAME = 202
    XML_NS_ERR_UNDEFINED_NAMESPACE = 201
    XML_NS_ERR_XML_NAMESPACE = 200
    XML_PARSER_ATTRIBUTE_VALUE = 12
    XML_PARSER_CDATA_SECTION = 8
    XML_PARSER_COMMENT = 5
    XML_PARSER_CONTENT = 7
    XML_PARSER_DEFAULTATTRS = 2
    XML_PARSER_DTD = 3
    XML_PARSER_END_TAG = 9
    XML_PARSER_ENTITY_DECL = 10
    XML_PARSER_ENTITY_VALUE = 11
    XML_PARSER_EOF = -1
    XML_PARSER_EPILOG = 14
    XML_PARSER_IGNORE = 15
    XML_PARSER_LOADDTD = 1
    XML_PARSER_MISC = 1
    XML_PARSER_PI = 2
    XML_PARSER_PROLOG = 4
    XML_PARSER_PUBLIC_LITERAL = 16
    XML_PARSER_SEVERITY_ERROR = 4
    XML_PARSER_SEVERITY_VALIDITY_ERROR = 2
    XML_PARSER_SEVERITY_VALIDITY_WARNING = 1
    XML_PARSER_SEVERITY_WARNING = 3
    XML_PARSER_START = 0
    XML_PARSER_START_TAG = 6
    XML_PARSER_SUBST_ENTITIES = 4
    XML_PARSER_SYSTEM_LITERAL = 13
    XML_PARSER_VALIDATE = 3
    XML_PARSE_BIG_LINES = 4194304
    XML_PARSE_COMPACT = 65536
    XML_PARSE_DOM = 1
    XML_PARSE_DTDATTR = 8
    XML_PARSE_DTDLOAD = 4
    XML_PARSE_DTDVALID = 16
    XML_PARSE_HUGE = 524288
    XML_PARSE_IGNORE_ENC = 2097152
    XML_PARSE_NOBASEFIX = 262144
    XML_PARSE_NOBLANKS = 256
    XML_PARSE_NOCDATA = 16384
    XML_PARSE_NODICT = 4096
    XML_PARSE_NOENT = 2
    XML_PARSE_NOERROR = 32
    XML_PARSE_NONET = 2048
    XML_PARSE_NOWARNING = 64
    XML_PARSE_NOXINCNODE = 32768
    XML_PARSE_NSCLEAN = 8192
    XML_PARSE_OLD10 = 131072
    XML_PARSE_OLDSAX = 1048576
    XML_PARSE_PEDANTIC = 128
    XML_PARSE_PUSH_DOM = 3
    XML_PARSE_PUSH_SAX = 4
    XML_PARSE_READER = 5
    XML_PARSE_RECOVER = 1
    XML_PARSE_SAX = 2
    XML_PARSE_SAX1 = 512
    XML_PARSE_UNKNOWN = 0
    XML_PARSE_XINCLUDE = 1024
    XML_PATTERN_DEFAULT = 0
    XML_PATTERN_XPATH = 1
    XML_PATTERN_XSFIELD = 4
    XML_PATTERN_XSSEL = 2
    XML_PI_NODE = 7
    XML_READER_TYPE_ATTRIBUTE = 2
    XML_READER_TYPE_CDATA = 4
    XML_READER_TYPE_COMMENT = 8
    XML_READER_TYPE_DOCUMENT = 9
    XML_READER_TYPE_DOCUMENT_FRAGMENT = 11
    XML_READER_TYPE_DOCUMENT_TYPE = 10
    XML_READER_TYPE_ELEMENT = 1
    XML_READER_TYPE_END_ELEMENT = 15
    XML_READER_TYPE_END_ENTITY = 16
    XML_READER_TYPE_ENTITY = 6
    XML_READER_TYPE_ENTITY_REFERENCE = 5
    XML_READER_TYPE_NONE = 0
    XML_READER_TYPE_NOTATION = 12
    XML_READER_TYPE_PROCESSING_INSTRUCTION = 7
    XML_READER_TYPE_SIGNIFICANT_WHITESPACE = 14
    XML_READER_TYPE_TEXT = 3
    XML_READER_TYPE_WHITESPACE = 13
    XML_READER_TYPE_XML_DECLARATION = 17
    XML_REGEXP_COMPILE_ERROR = 1450
    XML_RELAXNGP_CRNG = 2
    XML_RELAXNGP_FREE_DOC = 1
    XML_RELAXNGP_NONE = 0
    XML_RELAXNG_ERR_ATTREXTRANS = 20
    XML_RELAXNG_ERR_ATTRNAME = 14
    XML_RELAXNG_ERR_ATTRNONS = 16
    XML_RELAXNG_ERR_ATTRVALID = 24
    XML_RELAXNG_ERR_ATTRWRONGNS = 18
    XML_RELAXNG_ERR_CONTENTVALID = 25
    XML_RELAXNG_ERR_DATAELEM = 28
    XML_RELAXNG_ERR_DATATYPE = 31
    XML_RELAXNG_ERR_DUPID = 4
    XML_RELAXNG_ERR_ELEMEXTRANS = 19
    XML_RELAXNG_ERR_ELEMNAME = 13
    XML_RELAXNG_ERR_ELEMNONS = 15
    XML_RELAXNG_ERR_ELEMNOTEMPTY = 21
    XML_RELAXNG_ERR_ELEMWRONG = 38
    XML_RELAXNG_ERR_ELEMWRONGNS = 17
    XML_RELAXNG_ERR_EXTRACONTENT = 26
    XML_RELAXNG_ERR_EXTRADATA = 35
    XML_RELAXNG_ERR_INTEREXTRA = 12
    XML_RELAXNG_ERR_INTERNAL = 37
    XML_RELAXNG_ERR_INTERNODATA = 10
    XML_RELAXNG_ERR_INTERSEQ = 11
    XML_RELAXNG_ERR_INVALIDATTR = 27
    XML_RELAXNG_ERR_LACKDATA = 36
    XML_RELAXNG_ERR_LIST = 33
    XML_RELAXNG_ERR_LISTELEM = 30
    XML_RELAXNG_ERR_LISTEMPTY = 9
    XML_RELAXNG_ERR_LISTEXTRA = 8
    XML_RELAXNG_ERR_MEMORY = 1
    XML_RELAXNG_ERR_NODEFINE = 7
    XML_RELAXNG_ERR_NOELEM = 22
    XML_RELAXNG_ERR_NOGRAMMAR = 34
    XML_RELAXNG_ERR_NOSTATE = 6
    XML_RELAXNG_ERR_NOTELEM = 23
    XML_RELAXNG_ERR_TEXTWRONG = 39
    XML_RELAXNG_ERR_TYPE = 2
    XML_RELAXNG_ERR_TYPECMP = 5
    XML_RELAXNG_ERR_TYPEVAL = 3
    XML_RELAXNG_ERR_VALELEM = 29
    XML_RELAXNG_ERR_VALUE = 32
    XML_RELAXNG_OK = 0
    XML_RNGP_ANYNAME_ATTR_ANCESTOR = 1000
    XML_RNGP_ATTRIBUTE_CHILDREN = 1002
    XML_RNGP_ATTRIBUTE_CONTENT = 1003
    XML_RNGP_ATTRIBUTE_EMPTY = 1004
    XML_RNGP_ATTRIBUTE_NOOP = 1005
    XML_RNGP_ATTR_CONFLICT = 1001
    XML_RNGP_CHOICE_CONTENT = 1006
    XML_RNGP_CHOICE_EMPTY = 1007
    XML_RNGP_CREATE_FAILURE = 1008
    XML_RNGP_DATA_CONTENT = 1009
    XML_RNGP_DEFINE_CREATE_FAILED = 1011
    XML_RNGP_DEFINE_EMPTY = 1012
    XML_RNGP_DEFINE_MISSING = 1013
    XML_RNGP_DEFINE_NAME_MISSING = 1014
    XML_RNGP_DEF_CHOICE_AND_INTERLEAVE = 1010
    XML_RNGP_ELEMENT_CONTENT = 1018
    XML_RNGP_ELEMENT_EMPTY = 1017
    XML_RNGP_ELEMENT_NAME = 1019
    XML_RNGP_ELEMENT_NO_CONTENT = 1020
    XML_RNGP_ELEM_CONTENT_EMPTY = 1015
    XML_RNGP_ELEM_CONTENT_ERROR = 1016
    XML_RNGP_ELEM_TEXT_CONFLICT = 1021
    XML_RNGP_EMPTY = 1022
    XML_RNGP_EMPTY_CONSTRUCT = 1023
    XML_RNGP_EMPTY_CONTENT = 1024
    XML_RNGP_EMPTY_NOT_EMPTY = 1025
    XML_RNGP_ERROR_TYPE_LIB = 1026
    XML_RNGP_EXCEPT_EMPTY = 1027
    XML_RNGP_EXCEPT_MISSING = 1028
    XML_RNGP_EXCEPT_MULTIPLE = 1029
    XML_RNGP_EXCEPT_NO_CONTENT = 1030
    XML_RNGP_EXTERNALREF_EMTPY = 1031
    XML_RNGP_EXTERNALREF_RECURSE = 1033
    XML_RNGP_EXTERNAL_REF_FAILURE = 1032
    XML_RNGP_FORBIDDEN_ATTRIBUTE = 1034
    XML_RNGP_FOREIGN_ELEMENT = 1035
    XML_RNGP_GRAMMAR_CONTENT = 1036
    XML_RNGP_GRAMMAR_EMPTY = 1037
    XML_RNGP_GRAMMAR_MISSING = 1038
    XML_RNGP_GRAMMAR_NO_START = 1039
    XML_RNGP_GROUP_ATTR_CONFLICT = 1040
    XML_RNGP_HREF_ERROR = 1041
    XML_RNGP_INCLUDE_EMPTY = 1042
    XML_RNGP_INCLUDE_FAILURE = 1043
    XML_RNGP_INCLUDE_RECURSE = 1044
    XML_RNGP_INTERLEAVE_ADD = 1045
    XML_RNGP_INTERLEAVE_CREATE_FAILED = 1046
    XML_RNGP_INTERLEAVE_EMPTY = 1047
    XML_RNGP_INTERLEAVE_NO_CONTENT = 1048
    XML_RNGP_INVALID_DEFINE_NAME = 1049
    XML_RNGP_INVALID_URI = 1050
    XML_RNGP_INVALID_VALUE = 1051
    XML_RNGP_MISSING_HREF = 1052
    XML_RNGP_NAME_MISSING = 1053
    XML_RNGP_NEED_COMBINE = 1054
    XML_RNGP_NOTALLOWED_NOT_EMPTY = 1055
    XML_RNGP_NSNAME_ATTR_ANCESTOR = 1056
    XML_RNGP_NSNAME_NO_NS = 1057
    XML_RNGP_PARAM_FORBIDDEN = 1058
    XML_RNGP_PARAM_NAME_MISSING = 1059
    XML_RNGP_PARENTREF_CREATE_FAILED = 1060
    XML_RNGP_PARENTREF_NAME_INVALID = 1061
    XML_RNGP_PARENTREF_NOT_EMPTY = 1064
    XML_RNGP_PARENTREF_NO_NAME = 1062
    XML_RNGP_PARENTREF_NO_PARENT = 1063
    XML_RNGP_PARSE_ERROR = 1065
    XML_RNGP_PAT_ANYNAME_EXCEPT_ANYNAME = 1066
    XML_RNGP_PAT_ATTR_ATTR = 1067
    XML_RNGP_PAT_ATTR_ELEM = 1068
    XML_RNGP_PAT_DATA_EXCEPT_ATTR = 1069
    XML_RNGP_PAT_DATA_EXCEPT_ELEM = 1070
    XML_RNGP_PAT_DATA_EXCEPT_EMPTY = 1071
    XML_RNGP_PAT_DATA_EXCEPT_GROUP = 1072
    XML_RNGP_PAT_DATA_EXCEPT_INTERLEAVE = 1073
    XML_RNGP_PAT_DATA_EXCEPT_LIST = 1074
    XML_RNGP_PAT_DATA_EXCEPT_ONEMORE = 1075
    XML_RNGP_PAT_DATA_EXCEPT_REF = 1076
    XML_RNGP_PAT_DATA_EXCEPT_TEXT = 1077
    XML_RNGP_PAT_LIST_ATTR = 1078
    XML_RNGP_PAT_LIST_ELEM = 1079
    XML_RNGP_PAT_LIST_INTERLEAVE = 1080
    XML_RNGP_PAT_LIST_LIST = 1081
    XML_RNGP_PAT_LIST_REF = 1082
    XML_RNGP_PAT_LIST_TEXT = 1083
    XML_RNGP_PAT_NSNAME_EXCEPT_ANYNAME = 1084
    XML_RNGP_PAT_NSNAME_EXCEPT_NSNAME = 1085
    XML_RNGP_PAT_ONEMORE_GROUP_ATTR = 1086
    XML_RNGP_PAT_ONEMORE_INTERLEAVE_ATTR = 1087
    XML_RNGP_PAT_START_ATTR = 1088
    XML_RNGP_PAT_START_DATA = 1089
    XML_RNGP_PAT_START_EMPTY = 1090
    XML_RNGP_PAT_START_GROUP = 1091
    XML_RNGP_PAT_START_INTERLEAVE = 1092
    XML_RNGP_PAT_START_LIST = 1093
    XML_RNGP_PAT_START_ONEMORE = 1094
    XML_RNGP_PAT_START_TEXT = 1095
    XML_RNGP_PAT_START_VALUE = 1096
    XML_RNGP_PREFIX_UNDEFINED = 1097
    XML_RNGP_REF_CREATE_FAILED = 1098
    XML_RNGP_REF_CYCLE = 1099
    XML_RNGP_REF_NAME_INVALID = 1100
    XML_RNGP_REF_NOT_EMPTY = 1103
    XML_RNGP_REF_NO_DEF = 1101
    XML_RNGP_REF_NO_NAME = 1102
    XML_RNGP_START_CHOICE_AND_INTERLEAVE = 1104
    XML_RNGP_START_CONTENT = 1105
    XML_RNGP_START_EMPTY = 1106
    XML_RNGP_START_MISSING = 1107
    XML_RNGP_TEXT_EXPECTED = 1108
    XML_RNGP_TEXT_HAS_CHILD = 1109
    XML_RNGP_TYPE_MISSING = 1110
    XML_RNGP_TYPE_NOT_FOUND = 1111
    XML_RNGP_TYPE_VALUE = 1112
    XML_RNGP_UNKNOWN_ATTRIBUTE = 1113
    XML_RNGP_UNKNOWN_COMBINE = 1114
    XML_RNGP_UNKNOWN_CONSTRUCT = 1115
    XML_RNGP_UNKNOWN_TYPE_LIB = 1116
    XML_RNGP_URI_FRAGMENT = 1117
    XML_RNGP_URI_NOT_ABSOLUTE = 1118
    XML_RNGP_VALUE_EMPTY = 1119
    XML_RNGP_VALUE_NO_CONTENT = 1120
    XML_RNGP_XMLNS_NAME = 1121
    XML_RNGP_XML_NS = 1122
    XML_SAVE_AS_HTML = 64
    XML_SAVE_AS_XML = 32
    XML_SAVE_CHAR_INVALID = 1401
    XML_SAVE_FORMAT = 1
    XML_SAVE_NOT_UTF8 = 1400
    XML_SAVE_NO_DECL = 2
    XML_SAVE_NO_DOCTYPE = 1402
    XML_SAVE_NO_EMPTY = 4
    XML_SAVE_NO_XHTML = 8
    XML_SAVE_UNKNOWN_ENCODING = 1403
    XML_SAVE_WSNONSIG = 128
    XML_SAVE_XHTML = 16
    XML_SCHEMAP_AG_PROPS_CORRECT = 3087
    XML_SCHEMAP_ATTRFORMDEFAULT_VALUE = 1701
    XML_SCHEMAP_ATTRGRP_NONAME_NOREF = 1702
    XML_SCHEMAP_ATTR_NONAME_NOREF = 1703
    XML_SCHEMAP_AU_PROPS_CORRECT = 3089
    XML_SCHEMAP_AU_PROPS_CORRECT_2 = 3078
    XML_SCHEMAP_A_PROPS_CORRECT_2 = 3079
    XML_SCHEMAP_A_PROPS_CORRECT_3 = 3090
    XML_SCHEMAP_COMPLEXTYPE_NONAME_NOREF = 1704
    XML_SCHEMAP_COS_ALL_LIMITED = 3091
    XML_SCHEMAP_COS_CT_EXTENDS_1_1 = 3063
    XML_SCHEMAP_COS_CT_EXTENDS_1_2 = 3088
    XML_SCHEMAP_COS_CT_EXTENDS_1_3 = 1800
    XML_SCHEMAP_COS_ST_DERIVED_OK_2_1 = 3031
    XML_SCHEMAP_COS_ST_DERIVED_OK_2_2 = 3032
    XML_SCHEMAP_COS_ST_RESTRICTS_1_1 = 3011
    XML_SCHEMAP_COS_ST_RESTRICTS_1_2 = 3012
    XML_SCHEMAP_COS_ST_RESTRICTS_1_3_1 = 3013
    XML_SCHEMAP_COS_ST_RESTRICTS_1_3_2 = 3014
    XML_SCHEMAP_COS_ST_RESTRICTS_2_1 = 3015
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_1 = 3016
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_1_2 = 3017
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_1 = 3018
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_2 = 3019
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_3 = 3020
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_4 = 3021
    XML_SCHEMAP_COS_ST_RESTRICTS_2_3_2_5 = 3022
    XML_SCHEMAP_COS_ST_RESTRICTS_3_1 = 3023
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1 = 3024
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_1_2 = 3025
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_1 = 3027
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_2 = 3026
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_3 = 3028
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_4 = 3029
    XML_SCHEMAP_COS_ST_RESTRICTS_3_3_2_5 = 3030
    XML_SCHEMAP_COS_VALID_DEFAULT_1 = 3058
    XML_SCHEMAP_COS_VALID_DEFAULT_2_1 = 3059
    XML_SCHEMAP_COS_VALID_DEFAULT_2_2_1 = 3060
    XML_SCHEMAP_COS_VALID_DEFAULT_2_2_2 = 3061
    XML_SCHEMAP_CT_PROPS_CORRECT_1 = 1782
    XML_SCHEMAP_CT_PROPS_CORRECT_2 = 1783
    XML_SCHEMAP_CT_PROPS_CORRECT_3 = 1784
    XML_SCHEMAP_CT_PROPS_CORRECT_4 = 1785
    XML_SCHEMAP_CT_PROPS_CORRECT_5 = 1786
    XML_SCHEMAP_CVC_SIMPLE_TYPE = 3062
    XML_SCHEMAP_C_PROPS_CORRECT = 3080
    XML_SCHEMAP_DEF_AND_PREFIX = 1768
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_1 = 1787
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_1 = 1788
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_2 = 1789
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_1_3 = 3077
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_2_2 = 1790
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_3 = 1791
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_1 = 1797
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_2 = 1798
    XML_SCHEMAP_DERIVATION_OK_RESTRICTION_4_3 = 1799
    XML_SCHEMAP_ELEMFORMDEFAULT_VALUE = 1705
    XML_SCHEMAP_ELEM_DEFAULT_FIXED = 1755
    XML_SCHEMAP_ELEM_NONAME_NOREF = 1706
    XML_SCHEMAP_EXTENSION_NO_BASE = 1707
    XML_SCHEMAP_E_PROPS_CORRECT_2 = 3045
    XML_SCHEMAP_E_PROPS_CORRECT_3 = 3046
    XML_SCHEMAP_E_PROPS_CORRECT_4 = 3047
    XML_SCHEMAP_E_PROPS_CORRECT_5 = 3048
    XML_SCHEMAP_E_PROPS_CORRECT_6 = 3049
    XML_SCHEMAP_FACET_NO_VALUE = 1708
    XML_SCHEMAP_FAILED_BUILD_IMPORT = 1709
    XML_SCHEMAP_FAILED_LOAD = 1757
    XML_SCHEMAP_FAILED_PARSE = 1766
    XML_SCHEMAP_GROUP_NONAME_NOREF = 1710
    XML_SCHEMAP_IMPORT_NAMESPACE_NOT_URI = 1711
    XML_SCHEMAP_IMPORT_REDEFINE_NSNAME = 1712
    XML_SCHEMAP_IMPORT_SCHEMA_NOT_URI = 1713
    XML_SCHEMAP_INCLUDE_SCHEMA_NOT_URI = 1770
    XML_SCHEMAP_INCLUDE_SCHEMA_NO_URI = 1771
    XML_SCHEMAP_INTERNAL = 3069
    XML_SCHEMAP_INTERSECTION_NOT_EXPRESSIBLE = 1793
    XML_SCHEMAP_INVALID_ATTR_COMBINATION = 1777
    XML_SCHEMAP_INVALID_ATTR_INLINE_COMBINATION = 1778
    XML_SCHEMAP_INVALID_ATTR_NAME = 1780
    XML_SCHEMAP_INVALID_ATTR_USE = 1774
    XML_SCHEMAP_INVALID_BOOLEAN = 1714
    XML_SCHEMAP_INVALID_ENUM = 1715
    XML_SCHEMAP_INVALID_FACET = 1716
    XML_SCHEMAP_INVALID_FACET_VALUE = 1717
    XML_SCHEMAP_INVALID_MAXOCCURS = 1718
    XML_SCHEMAP_INVALID_MINOCCURS = 1719
    XML_SCHEMAP_INVALID_REF_AND_SUBTYPE = 1720
    XML_SCHEMAP_INVALID_WHITE_SPACE = 1721
    XML_SCHEMAP_MG_PROPS_CORRECT_1 = 3074
    XML_SCHEMAP_MG_PROPS_CORRECT_2 = 3075
    XML_SCHEMAP_MISSING_SIMPLETYPE_CHILD = 1779
    XML_SCHEMAP_NOATTR_NOREF = 1722
    XML_SCHEMAP_NOROOT = 1759
    XML_SCHEMAP_NOTATION_NO_NAME = 1723
    XML_SCHEMAP_NOTHING_TO_PARSE = 1758
    XML_SCHEMAP_NOTYPE_NOREF = 1724
    XML_SCHEMAP_NOT_DETERMINISTIC = 3070
    XML_SCHEMAP_NOT_SCHEMA = 1772
    XML_SCHEMAP_NO_XMLNS = 3056
    XML_SCHEMAP_NO_XSI = 3057
    XML_SCHEMAP_PREFIX_UNDEFINED = 1700
    XML_SCHEMAP_P_PROPS_CORRECT_1 = 3042
    XML_SCHEMAP_P_PROPS_CORRECT_2_1 = 3043
    XML_SCHEMAP_P_PROPS_CORRECT_2_2 = 3044
    XML_SCHEMAP_RECURSIVE = 1775
    XML_SCHEMAP_REDEFINED_ATTR = 1764
    XML_SCHEMAP_REDEFINED_ATTRGROUP = 1763
    XML_SCHEMAP_REDEFINED_ELEMENT = 1762
    XML_SCHEMAP_REDEFINED_GROUP = 1760
    XML_SCHEMAP_REDEFINED_NOTATION = 1765
    XML_SCHEMAP_REDEFINED_TYPE = 1761
    XML_SCHEMAP_REF_AND_CONTENT = 1781
    XML_SCHEMAP_REF_AND_SUBTYPE = 1725
    XML_SCHEMAP_REGEXP_INVALID = 1756
    XML_SCHEMAP_RESTRICTION_NONAME_NOREF = 1726
    XML_SCHEMAP_S4S_ATTR_INVALID_VALUE = 3037
    XML_SCHEMAP_S4S_ATTR_MISSING = 3036
    XML_SCHEMAP_S4S_ATTR_NOT_ALLOWED = 3035
    XML_SCHEMAP_S4S_ELEM_MISSING = 3034
    XML_SCHEMAP_S4S_ELEM_NOT_ALLOWED = 3033
    XML_SCHEMAP_SIMPLETYPE_NONAME = 1727
    XML_SCHEMAP_SRC_ATTRIBUTE_1 = 3051
    XML_SCHEMAP_SRC_ATTRIBUTE_2 = 3052
    XML_SCHEMAP_SRC_ATTRIBUTE_3_1 = 3053
    XML_SCHEMAP_SRC_ATTRIBUTE_3_2 = 3054
    XML_SCHEMAP_SRC_ATTRIBUTE_4 = 3055
    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_1 = 3071
    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_2 = 3072
    XML_SCHEMAP_SRC_ATTRIBUTE_GROUP_3 = 3073
    XML_SCHEMAP_SRC_CT_1 = 3076
    XML_SCHEMAP_SRC_ELEMENT_1 = 3038
    XML_SCHEMAP_SRC_ELEMENT_2_1 = 3039
    XML_SCHEMAP_SRC_ELEMENT_2_2 = 3040
    XML_SCHEMAP_SRC_ELEMENT_3 = 3041
    XML_SCHEMAP_SRC_IMPORT = 3082
    XML_SCHEMAP_SRC_IMPORT_1_1 = 3064
    XML_SCHEMAP_SRC_IMPORT_1_2 = 3065
    XML_SCHEMAP_SRC_IMPORT_2 = 3066
    XML_SCHEMAP_SRC_IMPORT_2_1 = 3067
    XML_SCHEMAP_SRC_IMPORT_2_2 = 3068
    XML_SCHEMAP_SRC_IMPORT_3_1 = 1795
    XML_SCHEMAP_SRC_IMPORT_3_2 = 1796
    XML_SCHEMAP_SRC_INCLUDE = 3050
    XML_SCHEMAP_SRC_LIST_ITEMTYPE_OR_SIMPLETYPE = 3006
    XML_SCHEMAP_SRC_REDEFINE = 3081
    XML_SCHEMAP_SRC_RESOLVE = 3004
    XML_SCHEMAP_SRC_RESTRICTION_BASE_OR_SIMPLETYPE = 3005
    XML_SCHEMAP_SRC_SIMPLE_TYPE_1 = 3000
    XML_SCHEMAP_SRC_SIMPLE_TYPE_2 = 3001
    XML_SCHEMAP_SRC_SIMPLE_TYPE_3 = 3002
    XML_SCHEMAP_SRC_SIMPLE_TYPE_4 = 3003
    XML_SCHEMAP_SRC_UNION_MEMBERTYPES_OR_SIMPLETYPES = 3007
    XML_SCHEMAP_ST_PROPS_CORRECT_1 = 3008
    XML_SCHEMAP_ST_PROPS_CORRECT_2 = 3009
    XML_SCHEMAP_ST_PROPS_CORRECT_3 = 3010
    XML_SCHEMAP_SUPERNUMEROUS_LIST_ITEM_TYPE = 1776
    XML_SCHEMAP_TYPE_AND_SUBTYPE = 1728
    XML_SCHEMAP_UNION_NOT_EXPRESSIBLE = 1794
    XML_SCHEMAP_UNKNOWN_ALL_CHILD = 1729
    XML_SCHEMAP_UNKNOWN_ANYATTRIBUTE_CHILD = 1730
    XML_SCHEMAP_UNKNOWN_ATTRGRP_CHILD = 1732
    XML_SCHEMAP_UNKNOWN_ATTRIBUTE_GROUP = 1733
    XML_SCHEMAP_UNKNOWN_ATTR_CHILD = 1731
    XML_SCHEMAP_UNKNOWN_BASE_TYPE = 1734
    XML_SCHEMAP_UNKNOWN_CHOICE_CHILD = 1735
    XML_SCHEMAP_UNKNOWN_COMPLEXCONTENT_CHILD = 1736
    XML_SCHEMAP_UNKNOWN_COMPLEXTYPE_CHILD = 1737
    XML_SCHEMAP_UNKNOWN_ELEM_CHILD = 1738
    XML_SCHEMAP_UNKNOWN_EXTENSION_CHILD = 1739
    XML_SCHEMAP_UNKNOWN_FACET_CHILD = 1740
    XML_SCHEMAP_UNKNOWN_FACET_TYPE = 1741
    XML_SCHEMAP_UNKNOWN_GROUP_CHILD = 1742
    XML_SCHEMAP_UNKNOWN_IMPORT_CHILD = 1743
    XML_SCHEMAP_UNKNOWN_INCLUDE_CHILD = 1769
    XML_SCHEMAP_UNKNOWN_LIST_CHILD = 1744
    XML_SCHEMAP_UNKNOWN_MEMBER_TYPE = 1773
    XML_SCHEMAP_UNKNOWN_NOTATION_CHILD = 1745
    XML_SCHEMAP_UNKNOWN_PREFIX = 1767
    XML_SCHEMAP_UNKNOWN_PROCESSCONTENT_CHILD = 1746
    XML_SCHEMAP_UNKNOWN_REF = 1747
    XML_SCHEMAP_UNKNOWN_RESTRICTION_CHILD = 1748
    XML_SCHEMAP_UNKNOWN_SCHEMAS_CHILD = 1749
    XML_SCHEMAP_UNKNOWN_SEQUENCE_CHILD = 1750
    XML_SCHEMAP_UNKNOWN_SIMPLECONTENT_CHILD = 1751
    XML_SCHEMAP_UNKNOWN_SIMPLETYPE_CHILD = 1752
    XML_SCHEMAP_UNKNOWN_TYPE = 1753
    XML_SCHEMAP_UNKNOWN_UNION_CHILD = 1754
    XML_SCHEMAP_WARN_ATTR_POINTLESS_PROH = 3086
    XML_SCHEMAP_WARN_ATTR_REDECL_PROH = 3085
    XML_SCHEMAP_WARN_SKIP_SCHEMA = 3083
    XML_SCHEMAP_WARN_UNLOCATED_SCHEMA = 3084
    XML_SCHEMAP_WILDCARD_INVALID_NS_MEMBER = 1792
    XML_SCHEMAS_ANYSIMPLETYPE = 46
    XML_SCHEMAS_ANYTYPE = 45
    XML_SCHEMAS_ANYURI = 29
    XML_SCHEMAS_BASE64BINARY = 44
    XML_SCHEMAS_BOOLEAN = 15
    XML_SCHEMAS_BYTE = 41
    XML_SCHEMAS_DATE = 10
    XML_SCHEMAS_DATETIME = 11
    XML_SCHEMAS_DECIMAL = 3
    XML_SCHEMAS_DOUBLE = 14
    XML_SCHEMAS_DURATION = 12
    XML_SCHEMAS_ENTITIES = 27
    XML_SCHEMAS_ENTITY = 26
    XML_SCHEMAS_ERR_ = 24
    XML_SCHEMAS_ERR_ATTRINVALID = 21
    XML_SCHEMAS_ERR_ATTRUNKNOWN = 20
    XML_SCHEMAS_ERR_CONSTRUCT = 17
    XML_SCHEMAS_ERR_ELEMCONT = 10
    XML_SCHEMAS_ERR_EXTRACONTENT = 13
    XML_SCHEMAS_ERR_FACET = 23
    XML_SCHEMAS_ERR_HAVEDEFAULT = 11
    XML_SCHEMAS_ERR_INTERNAL = 18
    XML_SCHEMAS_ERR_INVALIDATTR = 14
    XML_SCHEMAS_ERR_INVALIDELEM = 15
    XML_SCHEMAS_ERR_ISABSTRACT = 8
    XML_SCHEMAS_ERR_MISSING = 4
    XML_SCHEMAS_ERR_NOROLLBACK = 7
    XML_SCHEMAS_ERR_NOROOT = 1
    XML_SCHEMAS_ERR_NOTDETERMINIST = 16
    XML_SCHEMAS_ERR_NOTEMPTY = 9
    XML_SCHEMAS_ERR_NOTNILLABLE = 12
    XML_SCHEMAS_ERR_NOTSIMPLE = 19
    XML_SCHEMAS_ERR_NOTTOPLEVEL = 3
    XML_SCHEMAS_ERR_NOTYPE = 6
    XML_SCHEMAS_ERR_OK = 0
    XML_SCHEMAS_ERR_UNDECLAREDELEM = 2
    XML_SCHEMAS_ERR_VALUE = 22
    XML_SCHEMAS_ERR_WRONGELEM = 5
    XML_SCHEMAS_ERR_XXX = 25
    XML_SCHEMAS_FLOAT = 13
    XML_SCHEMAS_GDAY = 5
    XML_SCHEMAS_GMONTH = 6
    XML_SCHEMAS_GMONTHDAY = 7
    XML_SCHEMAS_GYEAR = 8
    XML_SCHEMAS_GYEARMONTH = 9
    XML_SCHEMAS_HEXBINARY = 43
    XML_SCHEMAS_ID = 23
    XML_SCHEMAS_IDREF = 24
    XML_SCHEMAS_IDREFS = 25
    XML_SCHEMAS_INT = 35
    XML_SCHEMAS_INTEGER = 30
    XML_SCHEMAS_LANGUAGE = 17
    XML_SCHEMAS_LONG = 37
    XML_SCHEMAS_NAME = 20
    XML_SCHEMAS_NCNAME = 22
    XML_SCHEMAS_NINTEGER = 32
    XML_SCHEMAS_NMTOKEN = 18
    XML_SCHEMAS_NMTOKENS = 19
    XML_SCHEMAS_NNINTEGER = 33
    XML_SCHEMAS_NORMSTRING = 2
    XML_SCHEMAS_NOTATION = 28
    XML_SCHEMAS_NPINTEGER = 31
    XML_SCHEMAS_PINTEGER = 34
    XML_SCHEMAS_QNAME = 21
    XML_SCHEMAS_SHORT = 39
    XML_SCHEMAS_STRING = 1
    XML_SCHEMAS_TIME = 4
    XML_SCHEMAS_TOKEN = 16
    XML_SCHEMAS_UBYTE = 42
    XML_SCHEMAS_UINT = 36
    XML_SCHEMAS_ULONG = 38
    XML_SCHEMAS_UNKNOWN = 0
    XML_SCHEMAS_USHORT = 40
    XML_SCHEMATRONV_ASSERT = 4000
    XML_SCHEMATRONV_REPORT = 4001
    XML_SCHEMATRON_OUT_BUFFER = 512
    XML_SCHEMATRON_OUT_ERROR = 8
    XML_SCHEMATRON_OUT_FILE = 256
    XML_SCHEMATRON_OUT_IO = 1024
    XML_SCHEMATRON_OUT_QUIET = 1
    XML_SCHEMATRON_OUT_TEXT = 2
    XML_SCHEMATRON_OUT_XML = 4
    XML_SCHEMAV_ATTRINVALID = 1821
    XML_SCHEMAV_ATTRUNKNOWN = 1820
    XML_SCHEMAV_CONSTRUCT = 1817
    XML_SCHEMAV_CVC_ATTRIBUTE_1 = 1861
    XML_SCHEMAV_CVC_ATTRIBUTE_2 = 1862
    XML_SCHEMAV_CVC_ATTRIBUTE_3 = 1863
    XML_SCHEMAV_CVC_ATTRIBUTE_4 = 1864
    XML_SCHEMAV_CVC_AU = 1874
    XML_SCHEMAV_CVC_COMPLEX_TYPE_1 = 1873
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_1 = 1841
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_2 = 1842
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_3 = 1843
    XML_SCHEMAV_CVC_COMPLEX_TYPE_2_4 = 1844
    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_1 = 1865
    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_1 = 1866
    XML_SCHEMAV_CVC_COMPLEX_TYPE_3_2_2 = 1867
    XML_SCHEMAV_CVC_COMPLEX_TYPE_4 = 1868
    XML_SCHEMAV_CVC_COMPLEX_TYPE_5_1 = 1869
    XML_SCHEMAV_CVC_COMPLEX_TYPE_5_2 = 1870
    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_1 = 1824
    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_2 = 1825
    XML_SCHEMAV_CVC_DATATYPE_VALID_1_2_3 = 1826
    XML_SCHEMAV_CVC_ELT_1 = 1845
    XML_SCHEMAV_CVC_ELT_2 = 1846
    XML_SCHEMAV_CVC_ELT_3_1 = 1847
    XML_SCHEMAV_CVC_ELT_3_2_1 = 1848
    XML_SCHEMAV_CVC_ELT_3_2_2 = 1849
    XML_SCHEMAV_CVC_ELT_4_1 = 1850
    XML_SCHEMAV_CVC_ELT_4_2 = 1851
    XML_SCHEMAV_CVC_ELT_4_3 = 1852
    XML_SCHEMAV_CVC_ELT_5_1_1 = 1853
    XML_SCHEMAV_CVC_ELT_5_1_2 = 1854
    XML_SCHEMAV_CVC_ELT_5_2_1 = 1855
    XML_SCHEMAV_CVC_ELT_5_2_2_1 = 1856
    XML_SCHEMAV_CVC_ELT_5_2_2_2_1 = 1857
    XML_SCHEMAV_CVC_ELT_5_2_2_2_2 = 1858
    XML_SCHEMAV_CVC_ELT_6 = 1859
    XML_SCHEMAV_CVC_ELT_7 = 1860
    XML_SCHEMAV_CVC_ENUMERATION_VALID = 1840
    XML_SCHEMAV_CVC_FACET_VALID = 1829
    XML_SCHEMAV_CVC_FRACTIONDIGITS_VALID = 1838
    XML_SCHEMAV_CVC_IDC = 1877
    XML_SCHEMAV_CVC_LENGTH_VALID = 1830
    XML_SCHEMAV_CVC_MAXEXCLUSIVE_VALID = 1836
    XML_SCHEMAV_CVC_MAXINCLUSIVE_VALID = 1834
    XML_SCHEMAV_CVC_MAXLENGTH_VALID = 1832
    XML_SCHEMAV_CVC_MINEXCLUSIVE_VALID = 1835
    XML_SCHEMAV_CVC_MININCLUSIVE_VALID = 1833
    XML_SCHEMAV_CVC_MINLENGTH_VALID = 1831
    XML_SCHEMAV_CVC_PATTERN_VALID = 1839
    XML_SCHEMAV_CVC_TOTALDIGITS_VALID = 1837
    XML_SCHEMAV_CVC_TYPE_1 = 1875
    XML_SCHEMAV_CVC_TYPE_2 = 1876
    XML_SCHEMAV_CVC_TYPE_3_1_1 = 1827
    XML_SCHEMAV_CVC_TYPE_3_1_2 = 1828
    XML_SCHEMAV_CVC_WILDCARD = 1878
    XML_SCHEMAV_DOCUMENT_ELEMENT_MISSING = 1872
    XML_SCHEMAV_ELEMCONT = 1810
    XML_SCHEMAV_ELEMENT_CONTENT = 1871
    XML_SCHEMAV_EXTRACONTENT = 1813
    XML_SCHEMAV_FACET = 1823
    XML_SCHEMAV_HAVEDEFAULT = 1811
    XML_SCHEMAV_INTERNAL = 1818
    XML_SCHEMAV_INVALIDATTR = 1814
    XML_SCHEMAV_INVALIDELEM = 1815
    XML_SCHEMAV_ISABSTRACT = 1808
    XML_SCHEMAV_MISC = 1879
    XML_SCHEMAV_MISSING = 1804
    XML_SCHEMAV_NOROLLBACK = 1807
    XML_SCHEMAV_NOROOT = 1801
    XML_SCHEMAV_NOTDETERMINIST = 1816
    XML_SCHEMAV_NOTEMPTY = 1809
    XML_SCHEMAV_NOTNILLABLE = 1812
    XML_SCHEMAV_NOTSIMPLE = 1819
    XML_SCHEMAV_NOTTOPLEVEL = 1803
    XML_SCHEMAV_NOTYPE = 1806
    XML_SCHEMAV_UNDECLAREDELEM = 1802
    XML_SCHEMAV_VALUE = 1822
    XML_SCHEMAV_WRONGELEM = 1805
    XML_SCHEMA_CONTENT_ANY = 7
    XML_SCHEMA_CONTENT_BASIC = 6
    XML_SCHEMA_CONTENT_ELEMENTS = 2
    XML_SCHEMA_CONTENT_EMPTY = 1
    XML_SCHEMA_CONTENT_MIXED = 3
    XML_SCHEMA_CONTENT_MIXED_OR_ELEMENTS = 5
    XML_SCHEMA_CONTENT_SIMPLE = 4
    XML_SCHEMA_CONTENT_UNKNOWN = 0
    XML_SCHEMA_EXTRA_ATTR_USE_PROHIB = 2001
    XML_SCHEMA_EXTRA_QNAMEREF = 2000
    XML_SCHEMA_FACET_ENUMERATION = 1007
    XML_SCHEMA_FACET_FRACTIONDIGITS = 1005
    XML_SCHEMA_FACET_LENGTH = 1009
    XML_SCHEMA_FACET_MAXEXCLUSIVE = 1003
    XML_SCHEMA_FACET_MAXINCLUSIVE = 1002
    XML_SCHEMA_FACET_MAXLENGTH = 1010
    XML_SCHEMA_FACET_MINEXCLUSIVE = 1001
    XML_SCHEMA_FACET_MININCLUSIVE = 1000
    XML_SCHEMA_FACET_MINLENGTH = 1011
    XML_SCHEMA_FACET_PATTERN = 1006
    XML_SCHEMA_FACET_TOTALDIGITS = 1004
    XML_SCHEMA_FACET_WHITESPACE = 1008
    XML_SCHEMA_TYPE_ALL = 8
    XML_SCHEMA_TYPE_ANY = 2
    XML_SCHEMA_TYPE_ANY_ATTRIBUTE = 21
    XML_SCHEMA_TYPE_ATTRIBUTE = 15
    XML_SCHEMA_TYPE_ATTRIBUTEGROUP = 16
    XML_SCHEMA_TYPE_ATTRIBUTE_USE = 26
    XML_SCHEMA_TYPE_BASIC = 1
    XML_SCHEMA_TYPE_CHOICE = 7
    XML_SCHEMA_TYPE_COMPLEX = 5
    XML_SCHEMA_TYPE_COMPLEX_CONTENT = 10
    XML_SCHEMA_TYPE_ELEMENT = 14
    XML_SCHEMA_TYPE_EXTENSION = 13
    XML_SCHEMA_TYPE_FACET = 3
    XML_SCHEMA_TYPE_GROUP = 17
    XML_SCHEMA_TYPE_IDC_KEY = 23
    XML_SCHEMA_TYPE_IDC_KEYREF = 24
    XML_SCHEMA_TYPE_IDC_UNIQUE = 22
    XML_SCHEMA_TYPE_LIST = 19
    XML_SCHEMA_TYPE_NOTATION = 18
    XML_SCHEMA_TYPE_PARTICLE = 25
    XML_SCHEMA_TYPE_RESTRICTION = 12
    XML_SCHEMA_TYPE_SEQUENCE = 6
    XML_SCHEMA_TYPE_SIMPLE = 4
    XML_SCHEMA_TYPE_SIMPLE_CONTENT = 9
    XML_SCHEMA_TYPE_UNION = 20
    XML_SCHEMA_TYPE_UR = 11
    XML_SCHEMA_VAL_VC_I_CREATE = 1
    XML_SCHEMA_WHITESPACE_COLLAPSE = 3
    XML_SCHEMA_WHITESPACE_PRESERVE = 1
    XML_SCHEMA_WHITESPACE_REPLACE = 2
    XML_SCHEMA_WHITESPACE_UNKNOWN = 0
    XML_TEXTREADER_MODE_CLOSED = 4
    XML_TEXTREADER_MODE_EOF = 3
    XML_TEXTREADER_MODE_ERROR = 2
    XML_TEXTREADER_MODE_INITIAL = 0
    XML_TEXTREADER_MODE_INTERACTIVE = 1
    XML_TEXTREADER_MODE_READING = 5
    XML_TEXT_NODE = 3
    XML_TREE_INVALID_DEC = 1301
    XML_TREE_INVALID_HEX = 1300
    XML_TREE_NOT_UTF8 = 1303
    XML_TREE_UNTERMINATED_ENTITY = 1302
    XML_WAR_CATALOG_PI = 93
    XML_WAR_ENTITY_REDEFINED = 107
    XML_WAR_LANG_VALUE = 98
    XML_WAR_NS_COLUMN = 106
    XML_WAR_NS_URI = 99
    XML_WAR_NS_URI_RELATIVE = 100
    XML_WAR_SPACE_VALUE = 102
    XML_WAR_UNDECLARED_ENTITY = 27
    XML_WAR_UNKNOWN_VERSION = 97
    XML_WITH_AUTOMATA = 23
    XML_WITH_C14N = 14
    XML_WITH_CATALOG = 15
    XML_WITH_DEBUG = 28
    XML_WITH_DEBUG_MEM = 29
    XML_WITH_DEBUG_RUN = 30
    XML_WITH_EXPR = 24
    XML_WITH_FTP = 9
    XML_WITH_HTML = 12
    XML_WITH_HTTP = 10
    XML_WITH_ICONV = 19
    XML_WITH_ICU = 32
    XML_WITH_ISO8859X = 20
    XML_WITH_LEGACY = 13
    XML_WITH_LZMA = 33
    XML_WITH_MODULES = 27
    XML_WITH_NONE = 99999
    XML_WITH_OUTPUT = 3
    XML_WITH_PATTERN = 6
    XML_WITH_PUSH = 4
    XML_WITH_READER = 5
    XML_WITH_REGEXP = 22
    XML_WITH_SAX1 = 8
    XML_WITH_SCHEMAS = 25
    XML_WITH_SCHEMATRON = 26
    XML_WITH_THREAD = 1
    XML_WITH_TREE = 2
    XML_WITH_UNICODE = 21
    XML_WITH_VALID = 11
    XML_WITH_WRITER = 7
    XML_WITH_XINCLUDE = 18
    XML_WITH_XPATH = 16
    XML_WITH_XPTR = 17
    XML_WITH_ZLIB = 31
    XML_XINCLUDE_BUILD_FAILED = 1609
    XML_XINCLUDE_DEPRECATED_NS = 1617
    XML_XINCLUDE_END = 20
    XML_XINCLUDE_ENTITY_DEF_MISMATCH = 1602
    XML_XINCLUDE_FALLBACKS_IN_INCLUDE = 1615
    XML_XINCLUDE_FALLBACK_NOT_IN_INCLUDE = 1616
    XML_XINCLUDE_FRAGMENT_ID = 1618
    XML_XINCLUDE_HREF_URI = 1605
    XML_XINCLUDE_INCLUDE_IN_INCLUDE = 1614
    XML_XINCLUDE_INVALID_CHAR = 1608
    XML_XINCLUDE_MULTIPLE_ROOT = 1611
    XML_XINCLUDE_NO_FALLBACK = 1604
    XML_XINCLUDE_NO_HREF = 1603
    XML_XINCLUDE_PARSE_VALUE = 1601
    XML_XINCLUDE_RECURSION = 1600
    XML_XINCLUDE_START = 19
    XML_XINCLUDE_TEXT_DOCUMENT = 1607
    XML_XINCLUDE_TEXT_FRAGMENT = 1606
    XML_XINCLUDE_UNKNOWN_ENCODING = 1610
    XML_XINCLUDE_XPTR_FAILED = 1612
    XML_XINCLUDE_XPTR_RESULT = 1613
    XML_XPATH_ENCODING_ERROR = 1220
    XML_XPATH_EXPRESSION_OK = 1200
    XML_XPATH_EXPR_ERROR = 1207
    XML_XPATH_INVALID_ARITY = 1212
    XML_XPATH_INVALID_CHAR_ERROR = 1221
    XML_XPATH_INVALID_CTXT_POSITION = 1214
    XML_XPATH_INVALID_CTXT_SIZE = 1213
    XML_XPATH_INVALID_OPERAND = 1210
    XML_XPATH_INVALID_PREDICATE_ERROR = 1206
    XML_XPATH_INVALID_TYPE = 1211
    XML_XPATH_MEMORY_ERROR = 1215
    XML_XPATH_NUMBER_ERROR = 1201
    XML_XPATH_START_LITERAL_ERROR = 1203
    XML_XPATH_UNCLOSED_ERROR = 1208
    XML_XPATH_UNDEF_PREFIX_ERROR = 1219
    XML_XPATH_UNDEF_VARIABLE_ERROR = 1205
    XML_XPATH_UNFINISHED_LITERAL_ERROR = 1202
    XML_XPATH_UNKNOWN_FUNC_ERROR = 1209
    XML_XPATH_VARIABLE_REF_ERROR = 1204
    XML_XPTR_CHILDSEQ_START = 1901
    XML_XPTR_EVAL_FAILED = 1902
    XML_XPTR_EXTRA_OBJECTS = 1903
    XML_XPTR_RESOURCE_ERROR = 1217
    XML_XPTR_SUB_RESOURCE_ERROR = 1218
    XML_XPTR_SYNTAX_ERROR = 1216
    XML_XPTR_UNKNOWN_SCHEME = 1900
    XPATH_BOOLEAN = 2
    XPATH_ENCODING_ERROR = 20
    XPATH_EXPRESSION_OK = 0
    XPATH_EXPR_ERROR = 7
    XPATH_FORBID_VARIABLE_ERROR = 24
    XPATH_INVALID_ARITY = 12
    XPATH_INVALID_CHAR_ERROR = 21
    XPATH_INVALID_CTXT = 22
    XPATH_INVALID_CTXT_POSITION = 14
    XPATH_INVALID_CTXT_SIZE = 13
    XPATH_INVALID_OPERAND = 10
    XPATH_INVALID_PREDICATE_ERROR = 6
    XPATH_INVALID_TYPE = 11
    XPATH_LOCATIONSET = 7
    XPATH_MEMORY_ERROR = 15
    XPATH_NODESET = 1
    XPATH_NUMBER = 3
    XPATH_NUMBER_ERROR = 1
    XPATH_OP_LIMIT_EXCEEDED = 25
    XPATH_POINT = 5
    XPATH_RANGE = 6
    XPATH_RECURSION_LIMIT_EXCEEDED = 26
    XPATH_STACK_ERROR = 23
    XPATH_START_LITERAL_ERROR = 3
    XPATH_STRING = 4
    XPATH_UNCLOSED_ERROR = 8
    XPATH_UNDEFINED = 0
    XPATH_UNDEF_PREFIX_ERROR = 19
    XPATH_UNDEF_VARIABLE_ERROR = 5
    XPATH_UNFINISHED_LITERAL_ERROR = 2
    XPATH_UNKNOWN_FUNC_ERROR = 9
    XPATH_USERS = 8
    XPATH_VARIABLE_REF_ERROR = 4
    XPATH_XSLT_TREE = 9
    XPTR_RESOURCE_ERROR = 17
    XPTR_SUB_RESOURCE_ERROR = 18
    XPTR_SYNTAX_ERROR = 16

FILE
    /usr/lib/python3/dist-packages/libxml2.py



Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:13 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!

^_back to top