From 789259a1b6850d30acffbb62b11456b9ed7a8f59 Mon Sep 17 00:00:00 2001
From: Mike Hommey
The main interest of that test is the creation of a parser context with createFileParserCtxt() and how the behaviour can be changed before calling -parseDocument() . Similarly the informations resulting from the parsing phase -are also available using context methods.
Contexts like nodes are defined as class and the libxml2 wrappers maps the +parseDocument() . Similarly the information resulting from the parsing phase +is also available using context methods.
Contexts like nodes are defined as class and the libxml2 wrappers maps the C function interfaces in terms of objects method as much as possible. The best to get a complete view of what methods are supported is to look at the libxml2.py module containing all the wrappers.
This test show how to activate the push parser interface:
import libxml2 -- cgit v1.2.3