\Header{genericSAXHandlers}{SAX generic callback handler list}
\keyword{file}{genericSAXHandlers}
\begin{Description}\relax
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 \code{handlers}
argument in \code{\Link{xmlEventParse}}.
One can easily specify a  subset
of the handlers by giving the names of
the elements to include or exclude.
\end{Description}
\begin{Usage}
\begin{verbatim}
genericSAXHandlers(include, exclude)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{include}] if supplied, this gives the names of the subset of elements to
return.

\item[\code{exclude}] if supplied (and \code{include} is not),
this gives the names of the elements to remove from the list of
functions.

\end{ldescription}
\end{Arguments}
\begin{Value}
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 \code{include} or \code{exclude} is specified,
a subset of this list is returned.
\end{Value}
\begin{Author}\relax
Duncan Temple Lang
\end{Author}
\begin{References}\relax
\url{http://www.w3.org/XML}, \url{http://www.jclark.com/xml},
\url{http://www.omegahat.org}
\end{References}
\begin{SeeAlso}\relax
\code{\Link{xmlEventParse}}
\code{\Link{startElement.SAX}}
\code{\Link{endElement.SAX}}
\code{\Link{comment.SAX}}
\code{\Link{processingInstruction.SAX}}
\code{\Link{entityDeclaration.SAX}}
\code{\Link{.InitSAXMethods}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}

\end{ExampleCode}
\end{Examples}

