RXS_allElemBeginHandler()
Call this subprocedure before RXS_parse() to tell the parser to notify a specific subprocedure of your program every time it encounters the start of an element in a document (i.e. in the XML <element>I am the content</element>
the <element>
is the start/begin). When the parser encounters an “element begin”, it will call the handler specified in pHandler.
Note: Using this approach saves coding time compared to using RXS_addHandler() when a program will retrieve a majority of the “element begin” events.
Subprocedure Prototype
|
Enables parsing of all XML begin events. |
|
The address of the local subprocedure in your program that should be called when any element's begin tag is encountered. This subprocedure must have the prototype as shown in the example event handler. Use the %PADDR Built-In Function to obtain the address of the local subprocedure (e.g. %Paddr(myHandler)). |