Designed to offer quick access to XML Schema components, the Palette
view improves the usability of the XML Schema diagram builder allowing you drag components
from the Palette view and drop them into the
Design mode.
Components are organized functionally into 4 collapsible categories:
- Basic components: elements, group, attribute, attribute
group, complex type, simple type.
- Compositors and Wildcards: sequence, choice, all, any,
any attribute.
- Directives: import, include, redefine.
- Identity constraints: key, keyref, unique, selector,
field.
To add a component to the edited schema:
- click and hold a graphic symbol from the Palette view, then drag
the component into the Design view;
- a line dynamically connects the component with the XML schema structure;
- release the component into a valid position.
Note: You cannot drop a component into an
invalid position. When you hover the component into an invalid position, the mouse
cursor changes its shape into

. Also, the
connector line changes its color from the usual dark grey to the color defined in the
Validation error highlight color option
(default color is red).