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

The PLISAXD built-in subroutine

The PLISAXD built-in subroutine allows you to invoke the XML parser with the validation capability. Both the XML document and the Optimized Schema Representation (OSR) file are in one or more buffers in your program.

Read syntax diagramSkip visual syntax diagram>>-PLISAXD(e,p,x,n,o-+----+-)----------------------------------><
                     '-,c-'
 
e
An event structure
p
A pointer value or "token" that the parser passes 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
o
The address of the buffer containing the input OSR
c
A numeric expression specifying the codepage of the XML document

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

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.

Note:
An OSR is the preprocessed version of a schema. For more information about OSR, see XML System Services User's Guide and Reference.

Terms of use | Feedback

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