Figure 6-8 Aircraft HTML generated for ‘Foreign key as links’ option

XML Schema file

The XML Schema and DTD files vary depending on the option chosen on the

Show table columns as.

The XML Schema file for the Elements option is shown below:

Example 6-2 XML Schema file for “Show table columns as ‘Elements’”

[001] <?xml version="1.0" encoding="UTF-8"?>

[002]<schema targetNamespace="http://www.ibm.com/PASSENGER_SCHEDULE_AIRCRAFT" xmlns="http://www.w3.org/2001/XMLSchema"

xmlns:PASSENGER_SCHEDULE_AIRCRAFT="http://www.ibm.com/PASSENGER_SCHEDULE_AIRCRA FT">

[003]<element name="SQLResult">

[004]<complexType>

[005]<sequence>

[006]<element maxOccurs="unbounded" minOccurs="0" ref="PASSENGER_SCHEDULE_AIRCRAFT:PASSENGER_SCHEDULE_AIRCRAFT"/>

[007]</sequence>

[008]</complexType>

110 The XML Files: Development of XML/XSL Applications Using WebSphere Studio

Page 126
Image 126
IBM Version 5 manual XML Schema file, Aircraft Html generated for ‘Foreign key as links’ option