genericSAXHandlers            package:XML            R Documentation

_S_A_X _g_e_n_e_r_i_c _c_a_l_l_b_a_c_k _h_a_n_d_l_e_r _l_i_s_t

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     genericSAXHandlers(include, exclude)

_A_r_g_u_m_e_n_t_s:

 include: if supplied, this gives the names of the subset of elements
          to return. 

 exclude: if supplied (and 'include' is not), this gives the names of
          the elements to remove from the list of functions. 

_V_a_l_u_e:

     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.

_A_u_t_h_o_r(_s):

     Duncan Temple Lang

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.w3.org/XML>, <URL: http://www.jclark.com/xml>,
     <URL: http://www.omegahat.org>

_S_e_e _A_l_s_o:

     'xmlEventParse' 'startElement.SAX' 'endElement.SAX' 'comment.SAX'
     'processingInstruction.SAX' 'entityDeclaration.SAX'
     '.InitSAXMethods'

_E_x_a_m_p_l_e_s:

