Register a Python written function to the XPath interpreter Create a new Node Register a Python written function to for error reporting. The function is called back as f(ctx, error). Create a progressive XML parser context to build either an event flow if the SAX object is not None, or a DOM tree otherwise. Create a progressive HTML parser context to build either an event flow if the SAX object is not None, or a DOM tree otherwise. Interface to parse an XML file or resource pointed by an URI to build an event flow to the SAX object Interface to parse an HTML file or resource pointed by an URI to build an event flow to the SAX object Create a libxml2 output buffer from a Python file Create a libxml2 input buffer from a Python file Set the entity resolver as a python function Get the document tree from a parser context. Get the well formed information from a parser context. Get the validity information from a parser context. Switch the parser to validation mode. Switch the parser to replace entities. Switch the parser to be pedantic. Switch the parser to load the DTD without validating. Switch on the generation of line number for elements nodes. 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. dump the memory allocated in the file .memdump Get the namespace of a node Get the namespace of a node Get the xpathContext from an xpathParserContext Get the doc from an xpathContext Get the current node from an xpathContext Set the doc of an xpathContext Set the current node of an xpathContext Get the current node from an xpathContext Get the current node from an xpathContext Get the current function name xpathContext Get the current function name URI xpathContext Get the scheme part from an URI Set the scheme part of an URI. Get the opaque part from an URI Set the opaque part of an URI. Get the authority part from an URI Set the authority part of an URI. Get the server part from an URI Set the server part of an URI. Get the user part from an URI Set the user part of an URI. Get the path part from an URI Set the path part of an URI. Get the query part from an URI Set the query part of an URI. Get the fragment part from an URI Set the fragment part of an URI. Get the port part from an URI Set the port part of an URI.