PL/I for OpenVMS and Tru64
•  Welcome
•  SDL
•  Java
•  XML
•  Hobbyist
•  Kits
•  Examples
•  Resources
•  Contact
•  Site Map

[PREV]    [NEXT]

[PRINT]

VWcms
WASD
OpenVMS …empowered

XML

Overview

The XML Support Run-Time Library (also referred to as XMLRTL) is a shareable image providing an OpenVMS calling standard friendly interface to some commonly used XML APIs.

Most XML APIs are intended to be used from a C or scripting language environment only. This can make it difficult for languages that do not support C-specific features to call these APIs directly.  It is often necessary for developers to implement a layer (usually written in C) between the API and the intended environment. With XMLRTL there is no necessity for this, sometimes, awkward layer.  XMLRTL functions can be easily called from any native OpenVMS language.

The following XML standards and recommendations are supported by XMLRTL:

XMLRTL is supported on OpenVMS VAX, Alpha and I64. It ships with include files for PL/I, BASIC, Pascal, Fortran, BLISS and C. Intermediate SDL definitions are also provided for any languages not covered.

The XMLRTL library has been built on the eXpat XML parser.  Due to this the original eXpat interface is also available as a portable interface intended for use when porting eXpat dependent applications or writing software in C that is expected to be portable to another plaftorm using eXpat.  The HTTP connectivity is provided by the cURL library.

Software

XMLRTL ships in a combined PCSI kit. This means that the single kit contains software that will install on OpenVMS VAX, Alpha and I64.

  • XMLRTL V1.0 PCSI software kit PCSI|ZIP.

If for some reason you are unable to download the XMLRTL software we can provide physical media kits with all necessary software upon request.

Documentation

The following documentation covers the XMLRTL software product:

  • Kednos XML Support Run-Time Library User Guide & Release Notes HTML|PS|PDF

All manuals are produced using DECdocument from Touch Technologies, Inc.

Licensing & Support

XMLRTL is a comercial product available from Kednos Enterprises. License PAKs and formal support agreements are available and can be discussed further by contacting sales@kednos.com.

An evaluation license, valid till 01-Oct-2009, can be downloaded from here.

Examples

The following are a collection of examples demonstrating the different XML APIs.  All examples are available in the software product kit.

Elements
Source: elements.pli elements.bas
Description:

Elements is a simple XML parser that demonstrates how to create and free a parser context as well as how to specify event handlers.  It will produce a listing of all tags (and their attributes) present in the input document.

The program comes in both PL/I and BASIC flavours.  po.xml contains an example XML document.

Build Instructions: PL/I: $ PLI ELEMENTS
$ LINK ELEMENTS,SYS$INPUT/OPTION
SYS$LIBRARY:XML$SHR/SHARE
BASIC: $ BASIC ELEMENTS
$ LINK ELEMENTS,SYS$INPUT/OPTION
SYS$LIBRARY:XML$SHR/SHARE
 
 
 
 
 
 

 


[PRINT]  [PRINT]