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

Using the PLISAXC XML parser

Overview
The PLISAXC built-in subroutine
The SAX event structure
start_of_document
version_information
encoding_declaration
standalone_declaration
document_type_declaration
end_of_document
start_of_element
attribute_name
attribute_characters
end_of_element
start_of_CDATA_section
end_of_CDATA_section
content_characters
processing_instruction
comment
namespace_declare
end_of_input
unresolved_reference
exception
Parameters to the event functions
Differences in the events
Coded character sets for XML documents
Supported code pages
Specifying the code page
Using a number:
Using an alias
Exceptions
Example with a simple document

The PLISAXC built-in subroutines provide basic XML parsing capability which allows programs to consume inbound XML documents, check them for well-formedness, and react to their contents.

This subroutine does not provide XML generation, which must instead be accomplished by PL/I program logic or by using the XMLCHAR built-in function.

PLISAXC has no special environmental requirements except that it is not supported in AMODE 24. It executes in all the principal run-time environments, including CICS, IMS, and MQ Series, as well as z/OS batch and TSO.

While the PLISAXC built-in subroutine is significantly different from the PLISAXA and PLISAXB subroutines, it does have much similarity with them, and some of the discussion below will repeat material from the previous chapter.


Terms of use | Feedback

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