genericSAXHandlers {XML} | R Documentation |
This is a convenience function to get the collection
of generic functions that make up the callbacks
for the SAX parser.
The return value can be used directly
as the value of the handlers
argument in xmlEventParse
.
One can easily specify a subset
of the handlers by giving the names of
the elements to include or exclude.
genericSAXHandlers(include, exclude, useDotNames = FALSE)
include |
if supplied, this gives the names of the subset of elements to return. |
exclude |
if supplied (and |
useDotNames |
a logical value.
If this is |
A list of functions. By default, the elements are named startElement, endElement, comment, text, processingInstruction, entityDeclaration and contain the corresponding generic SAX callback function, i.e. given by the element name with the .SAX suffix.
If include
or exclude
is specified,
a subset of this list is returned.
Duncan Temple Lang
http://www.w3.org/XML, http://www.jclark.com/xml, http://www.omegahat.net
xmlEventParse
startElement.SAX
endElement.SAX
comment.SAX
processingInstruction.SAX
entityDeclaration.SAX
.InitSAXMethods