Previous Topic Next topic Print topic


PLISAXC event structure example

This shows an example of a SAX event structure for PLISAXC.

This shows an example of a SAX event structure for PLISAXA and PLISAXB.

saxtest: proc options( main );

// eventHandler for PLISAXC
  dcl
    1 eventHandler_c

      ,2 e01 type event_without_data
              init( start_of_document )
      ,2 e02 type event
              init( version_information )
      ,2 e03 type event
              init( encoding_declaration )
      ,2 e04 type event
             init( standalone_declaration )
      ,2 e05 type event
             init( document_type_declaration )
      ,2 e06 type event_without_data
             init( end_of_document )
      ,2 e07 type event_with_namespace
             init( start_of_element )
      ,2 e08 type event_with_namespace
             init( attribute_name )
      ,2 e09 type event
             init( attribute_characters )
      ,2 e10 type event_with_namespace
             init( end_of_element )
      ,2 e11 type event_without_data
             init( start_of_cdata )
      ,2 e12 type event_without_data
             init( end_of_cdata )
      ,2 e13 type event_with_flag
             init( content_characters )
      ,2 e14 type event_pi
             init( processing_instruction )
      ,2 e15 type event
             init( comment )
      ,2 e16 type event_namespace_dcl
             init( namespace_declare )
      ,2 e17 type event_end_of_input
             init( end_of_input )
      ,2 e18 type event
             init( unresolved_reference )
      ,2 e19 type event_exception
             init( exception )
      ;
Previous Topic Next topic Print topic