IBM Version 5 Universal Remote User Manual


 
Chapter 6. RDB and XML integration 123
Figure 6-12 Generate XML Schema
The XML Schema generated for the SCHEDULE table is shown below:
Example 6-10 XML Generated through the DDL to XML Schema
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.ibm.com/AIRLINE/OSAMURS3"
xmlns:AIRLINEOSAMURS3="http://www.ibm.com/AIRLINE/OSAMURS3">
<element name="SCHEDULE" type="AIRLINEOSAMURS3:SCHEDULE">
<key name="SCHEDULEPRIMKEY">
<selector xpath="AIRLINEOSAMURS3:SCHEDULE"/>
<field xpath="FLIGHTNO"/>
</key>
</element>
<complexType name="SCHEDULE">
<sequence>
<element name="FLIGHTNO">
<simpleType>