RXS_allElemBeginHandler
From Wiki
|
| User Guide |
Contents |
Description
Call this subprocedure before RXS_parse to tell the parser to notify a specific subprocedure of your program every time it encounters a beginning element (i.e. <element>I am the content</element>.)
Prototype
D RXS_allElemBeginHandler... D pr D pHandler * value procptr
Parameters
- pHandler
- The address of the local subprocedure in your program for the parser to call when it encounters any element’s begin tag. Use the %PADDR (Get Procedure Address) RPG BIF to obtain the address of the local subprocedure (e.g. %PADDR(myHandler)).
Return value
None.
Notes / Examples
Using this approach saves coding time when a program will retrieve a majority of the begin element events.
