IBM Version 5 Universal Remote User Manual


 
Chapter 9. Developing XML Web services 181
Figure 9-4 PassengerList DOM Tree
The XML Schema editor has a Design view and a Source view. The Outline view
and eliminate the need for a knowledge of XSD syntax, but developers who
prefer to directly edit the file can work with the source view. The Design view
presents a form-based user interface that is synchronized with the outline and
Source view. When a part of the schema is selected in the Outline view, it can be
changed in the Design view.
Next, we have to add contents to the schema. Take these steps to accomplish
this:
1. Add two global elements, Flight and Customer, and set type information to
user-defined complex type.
2. Select
root node.
3. Right-click
Add Global Element (Figure 9-5).
Flight
@flightNo
@departure
Customer
name
membership
global element
global element
attribute
attribute
element
element