Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Language Reference Manual

PLISAXA

This built-in subroutine allows you to perform SAX-style parsing of an XML document residing in a buffer in your program.

Read syntax diagramSkip visual syntax diagram>>-PLISAXA(e,p,x,n-+----+-)------------------------------------><
                   '-,c-'
 
e
An event structure
p
A pointer value or "token" that will be passed back to the parsing events
x
The address of the buffer containing the input XML
n
The number of bytes of data in that buffer
c
A numeric expression specifying the purported codepage of that XML

Note that if the XML is contained in a CHARACTER VARYING or a WIDECHAR VARYING string, then the ADDRDATA built-in function should be used to obtain the address of the first data byte.

Also note that if the XML is contained in a WIDECHAR string, the value for the number of bytes is twice the value returned by the LENGTH built-in function.

For more information, see the Programming Guide.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)