Call this subprocedure before RXS_parse() to tell the parser to notify a specific subprocedure of your program every time it encounters the content for any element in the document (e.g. <element>I am the content</element>). When the parser encounters element content, it will send the content value to the handler specified in pHandler.

Note: Using this approach saves coding time when a program will retrieve a majority of the element content.

Subprocedure Prototype

D RXS_allElemContentHandler...
D                 pr

Enables parsing of all XML content events.

D  pHandler                       *   value procptr

The address of the local subprocedure in your program that the parser should call when it encounters any element’s content. 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)).