The palette window, as shown below, allows both XML
Components and XML Schema Components to be created within an XSD file.
The following tables show the entities that can be created within an XSD file by
dragging and dropping either XML Components or XML Schema Components into
the Design view. An example of the type of XML that is created for each component
type is also provided.
XML Components Example
Attribute
attribute name="isInternational" type="xsd:string"/>
Element
All
XML Schema Designer
[ 152 ]
XML Schema
Components
Example
All
Choice
Complex Type
Sequence
To create a new element within a XSD file you select the Element entry within the
palette and drag it into the Design view.
Pages:
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144