XML Schema Designer
[ 150 ]
The properties of the different entities within the XSD file can be viewed and
edited within the Properties window as shown below. In this example, we can see
the properties of the iata element are visible. The various XSD attributes such as
Nillable, Max occurs, Min occurs, can all be edited from within this properties
window. This properties window is context sensitive and only displays the
properties applicable to the entity that has been selected within the Schema view.
Design View
The XML Schema Design view provides a graphical designer, allowing complex
XSD files to be easily built. We can see an example of the Design view below.
Developers use Drag and Drop to place components from the palette into the XSD
file. The Design view shows the Elements and Complex Types that are used to build
up the XSD file. The Elements and Complex Types can be expanded and collapsed
allowing all the sub components to be viewed in a tree like fashion.
In a similar fashion to the Schema view, selecting an entity in the Design view
causes the entry to be selected and its properties to be displayed within the
Properties window.
Chapter 7
[ 151 ]
The Palette window is the source of all dragging and dropping to create entities
within the XSD file.
Pages:
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143