IBM®
Skip to main content
    United States [change]      Terms of use
 
 
   
     Home      Products      Services & solutions      Support & downloads      My account     
     
  XML on TPF: A Short Tutorial IBM

XML on TPF: A Short Tutorial — Page 2 of 14
Getting Started

To help you gain hands-on experience with XML on TPF, this path provides a sample DTD, a sample XML Schema document, and an XML document based on each. You will also get two sample applications with instructions for using these pieces on TPF. This path takes you step-by-step through a series of tasks:

  1. First, you will save a copy of a sample Document Type Definition (DTD) and an XML document to your workstation.
    A DTD defines all the allowable elements and attributes (as well as the structure of those elements and attributes) that are used for writing the XML document.
  2. Next, you will save a copy of a sample XML Schema document and an XML document based on that XML Schema to your workstation.
    An XML Schema document also defines all the allowable elements, attributes, and structures, but uses a different syntax than a DTD and generally allows you to be more detailed in the definitions.
  3. Next, you will save a copy of two sample TPF applications written in C++ that do the following:
    • Use the DOM API with validation against a DTD or XML Schema
    • Use the DOM API without validation
    • Use the SAX API with validation against a DTD or XML Schema
    • Use the SAX API without validation.
  4. Before you can use the sample applications, you will prepare a TPF 4.1 test system to receive file transfers from your workstation and then FTP the DTD, XML Schema, and XML documents to the TPF file system.
  5. Finally, you will actually use the applications to interact with the sample XML data on your TPF 4.1 test system.

While you do not need to fully understand the syntax of writing a DTD, XML Schema, or XML document to successfully complete this tutorial, we encourage you to study all the samples as well as the applications to see how they are written. Use the books and Web sites identified in the TPF XML User's Guide to learn more about their syntax.

For More Information
See the TPF XML User's Guide for:

  • A list of books and Web sites for learning more on a variety of XML subjects
  • More information about DOM, SAX, and validation
  • More information about elements and attributes.

You are ready to continue.

PreviousNext

Back to the Beginning
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14

 

Close This Window.

 

    About IBM Privacy Contact