XML Toolkit Plug-In

The XML Toolkit plug-in enables developers to process XML documents within Natural.

The toolkit includes a wizard which generates Natural source code and provides the following features:

  • Mapping Natural data definitions to DTDs or XML schemas;

  • Serializing a Natural data structure and assigning its contents to an XML file;

  • Mapping DTDs to Natural data definitions;

  • Parsing an XML file and assigning its contents to a Natural data structure.

The wizard is included in the library SYSXTK.

This document describes an example application that demonstrates the use of XML within a Natural-for-Windows environment without external program parts.

The following topics are covered:

Introduction
Using the XML Toolkit
Setting Up Specific Generation Options
Using a Natural Data Source
Using an external Data Source
Natural Simple XML Parser
Examples
Parser Error Messages

Specifications contained herein are subject to change and these changes will be reported in subsequent release notes and new editions.