IBM Version 5 User Manual

Page of 340
 Chapter 9. Developing XML Web services 
179
2. Generate a DTD from the XML Schema.
3. Generate a sample XML output.
4. Generate the XML file from the schema and add some data to it.
5. Design an HTML output page.
6. Map the XML and the output presentation
7. Generate an XSL file from the map to transform the XML to HTML, in order to 
show it as an output page. 
8. Develop a simple servlet that reads the XML file and transform it to the HTML 
output page using the XSL file and XSLT processor.
򐂰
Test Passenger List application.
Figure 9-2   Passenger List application
We are going to create two projects to organize XML and Web application and 
lately Web services files separately. The first project is a simple project called 
Airline, which will contain the XML files.
Name
Type
Airline Simple 
project
Travel
Web project
9.1.2  Create the Airline simple project
To create the simple project from the workbench take this steps:
1. Select 
File—>New—>Project
 and create a Simple Project from the Simple 
category. Click 
Next.
DTD
XSD
XML
HTML
XSL
Mapping
Servlet
XSLT Processor
Browser
doGet
HTML