Rational Developer for System z
Enterprise PL/I for z/OS, Version 3.8, Programming Guide

The PLISAXC built-in subroutine

The PLISAXC built-in subroutine allows you to invoke the XML parser for an XML document residing in one or more buffers in your program.

Read syntax diagramSkip visual syntax diagram>>-PLISAXC(e,p,x,n-+----+-)------------------------------------><
                   '-,c-'
 
e
An event structure
p
A pointer value or "token" that the parser will pass back to the event functions
x
The address of the initial 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.


Terms of use | Feedback

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