Back to Contents


The Genero Web Services XML Extension Library

The Genero Web Services XML Extension Library provides classes and methods to handle any kind of XML documents, including documents with namespaces. The library provides a W3C-compatible DOM API, integrating additional XML Schema and DTD validation methods. There is also an API compatible with StAX for writing or reading XML documents where performance and speed are important.

 Use the IMPORT statement at the top of your Genero .4gl module to import the library into your Genero application:

IMPORT xml

Remark: the DOM API of the om package is still in use, but was designed to handle specific FGL files or to manipulate the user interface tree (the AUI tree). For all other cases/scenarios, we recommend that you use the DOM API of the xml package.

The Document Object Modeling (DOM) classes

Purpose: Manages XML document entirely in memory with support of XML Schema and DTD validation

Summary:

The Streaming API for XML (StAX) classes

Purpose: Uses streaming while managing XML documents

Summary:

The XML serialization class

Purpose: Converts 4GL variables to XML and XML to 4GL variables

Summary:

Library error codes

Summary: