RXS_allElemEndHandler
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 the end of an element in a document (i.e. <element>I am the content</element>.)
Prototype
D RXS_allElemEndHandler... D pr D pHandler * value procptr
Parameters
- pHandler
- The address of the local subprocedure in your program that should be called when any element’s ending tag is encountered. 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 end element events.
