Previous Topic Next topic Print topic


PLISAXA and PLISAXB event structure example

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

saxtest: proc options( main );

    dcl
      1 eventhandler /* static  */

        ,2 e01 type event
               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_end_of_document
               init( end_of_document )
        ,2 e07 type event
               init( start_of_element )
        ,2 e08 type event
               init( attribute_name )
        ,2 e09 type event
               init( attribute_characters )
        ,2 e10 type event_predefined_ref
               init( attribute_predefined_reference )
        ,2 e11 type event_character_ref
               init( attribute_character_reference )
        ,2 e12 type event
               init( end_of_element )
        ,2 e13 type event
               init( start_of_cdata )
        ,2 e14 type event
               init( end_of_cdata )
        ,2 e15 type event
               init( content_characters )
        ,2 e16 type event_predefined_ref
               init( content_predefined_reference )
        ,2 e17 type event_character_ref
               init( content_character_reference )
        ,2 e18 type event_pi
               init( processing_instruction )
        ,2 e19 type event
               init( comment )
        ,2 e20 type event
               init( unknown_attribute_reference )
        ,2 e21 type event
               init( unknown_content_reference )
        ,2 e22 type event
               init( start_of_prefix_mapping )
        ,2 e23 type event
               init( end_of_prefix_mapping )
        ,2 e24 type event_exception
               init( exception )
        ;
Previous Topic Next topic Print topic