type the type of the handler. One of HLR_MESSAGE, HLR_MISC, HLR_SAX, HLR_SCHEME.
handler some object that supports the methods of the handler protocol. The protocol for each handler type is described below.
remove handler from the Processor object.
sheetURI URI of the XSLT stylesheet
inputURI URI of the XML document
params a list of pairs defining the top-level parameters to be passed, interpreted as a sequence of (name, value) pairs.
arguments a list of pairs defining the named buffers to be passed, interpreted as a sequence of (name, value) pairs.
The URIs sheeturi and inputuri may have the builtin types file: or arg:. For other URI-types (ftp: or http: in, e.g., http://foo/bar.xml) may be read through the scheme handler interface (see below).
params and args are both lists of pairs (tuples of two values), e.g. [('name1', 'value1'), ('name2', 'value2')]. The names in args may be used as arg:-URIs in the sheeturi and inputuri arguments.
Example: assume we call p.setBaseForScheme("arg", "http://server") and then runs a stylesheet at "arg:/xxx" which contains "document('foo.xml')". The relative reference is resolved as "http://server/foo.xml" but if the stylesheet were at "file:/xxx" it would become "file:/foo.xml".