IBM Version 5 Manual De Usuario

Descargar
Página de 340
170
 
The XML Files:   Development of XML/XSL Applications Using WebSphere Studio
The development of the two projects follows these steps:
1. The AIRLINE project starts with the creation of a XML Schema file. For our 
application, the schema is simple: It holds only flight and customer 
information. Correspondingly, we also create a database to hold this data. 
The schema consists of two tables: ’PASSENGER’ and ‘SCHEDULE’. Each 
table consists of four fields. The creation of these tables and the connection is 
carried out through the data perspective of Application Developer. 
Application Developer is so rich in functionality that to put all its icons on a 
single menu would be impossible. The perspectives help to organize all the 
functions in an organized way. To access different parts of the project, the 
user will have to switch between the perpectives.
2. From the XML Schema, the DTD is generated. This then serves as a mapping 
to the relational database tables. The join between the tables are 
implemented in the RDB to XML Mapping wizard. Note that the join between 
the two tables is carried out in Application Developer, and not in the database. 
This serves as a discussion point.