XML on TPF: A Short Tutorial
XML on TPF: A Short Tutorial
To help you learn about using TPF applications to access XML data, this tutorial
takes you through the process step-by-step. We give you a sample Document Type Definition (DTD), a sample XML Schema document, some sample
XML data, and two sample applications that interact with the XML data. Overall, this tutorial:
Demonstrates how TPF applications written in C++ language interact with XML data through the DOM and SAX APIs
Identifies the core skills that are needed before writing applications that access XML data using the parser
Gives you an opportunity to gain hands-on experience with XML on TPF.
Choose the View Only path or the Follow Along path
(You can always choose one now and do the other later!)
Note: This tutorial has been tested using Netscape version 4.72 and Microsoft Internet Explorer version 5.5. Problems may
occur when using earlier versions of these browsers to view the XML documents and DTDs included with this tutorial.
The View Only path shows you how a TPF application programmer develops a DTD and an XML document based on that DTD, an XML Schema and an XML document based on that XML Schema, and two
applications that interact with his sample data. You will be able to view his
work as well as examples of his display screen as he runs his applications. This is an easy way to
see how your TPF applications can interact with XML data without having to do any work!
The Follow Along path puts you in the driver's seat!
You will save a sample DTD and an XML document based on that DTD, an XML Schema and an XML document based on that XML Schema, two TPF applications to your PC, and then actually work with them on your TPF
4.1 system. We take you through each step, but you will need to be familiar with your TPF environment
so you can easily alter the directions as appropriate. This is a great way to gain hands-on experience!