defined(LIBXML_XPATH_ENABLED)
Register a Python written function to the XPath interpreter
defined(LIBXML_XPATH_ENABLED)
Register a variable with the XPath context
Create a new Node
Create a progressive XML parser context to build either an event flow if the SAX object is not None, or a DOM tree otherwise.
defined(LIBXML_HTML_ENABLED)
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
defined(LIBXML_HTML_ENABLED)
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
defined(LIBXML_XPATH_ENABLED)
Get the xpathContext from an xpathParserContext
defined(LIBXML_XPATH_ENABLED)
Get the doc from an xpathContext
defined(LIBXML_XPATH_ENABLED)
Get the current node from an xpathContext
defined(LIBXML_XPATH_ENABLED)
Set the doc of an xpathContext
defined(LIBXML_XPATH_ENABLED)
Set the current node of an xpathContext
defined(LIBXML_XPATH_ENABLED)
Get the current node from an xpathContext
defined(LIBXML_XPATH_ENABLED)
Get the current node from an xpathContext
defined(LIBXML_XPATH_ENABLED)
Get the current function name xpathContext
defined(LIBXML_XPATH_ENABLED)
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 raw query part from an URI (i.e. the unescaped form).
Set the raw query part of an URI (i.e. the unescaped form).
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.
What part of the library raised this error
The error code, e.g. an xmlParserError
human-readable informative error message
how consequent is the error
the filename
the line number if available
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.
Returns the total amount of memory allocated by libxml2