
Flight
global element
@flightNo
@departure
attribute
attribute
Customer
global element
name
membership
element
element
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
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
2.Select root node.
3.
Chapter 9. Developing XML Web services 181