Setting and Modifying XSD Element Properties
The Property Inspector displays the properties of XSD elements selected
in the XSD Visual Editor or the Structure (schema or XML view) window..
Use the Property Inspector to set or modify the property values for any
element in your XML schema. Set property values are marked with a green
square. To undo changes, from the main menu select
Edit
Undo action. Use the Set to Default
button to reset a property with a default value to its original value.
To set an element's properties:
-
With an XML schema open, select an element in the visual editor or
Structure window. The Property Inspector displays the property values
for the selected element. If the Property Inspector is not in view
choose View
Property Inspector or use the shortcut Ctrl+Shift+I
.
-
Scroll until the property you want is visible, then select it with the
mouse or the arrow keys. A brief description of the property is
displayed at the bottom of the Property Inspector.
Tip:
To quickly locate a property in a long list, click the search button in the
Property Inspector toolbar. In the Find
text field, type the name of the property, then press
Enter.
-
Enter the property value in the right column in one of the following
ways:
-
In a text field, type the string value for that property, for
example a text value or a number value, then press
Enter.
-
In a value field with a down arrow, click the down arrow and
choose a value from the list, then press Enter
.
-
In a value field with an ellipsis
, click the ellipsis to display an editor for that property. Set the values in
the property editor, then press OK.
Tips
-
Double-click an XSD element to highlight and edit the
name
attribute of the element.
-
Right-click an XSD element and choose Pro
perties to display a property editor for the element.
Click Help in the property editor for
information about element attributes.
Setting Properties for Multiple Elements
If you have multiple elements selected, by default the Property
Inspector displays all the properties of the selected elements. Click
the Union button in the Property Inspector toolbar to toggle between
displaying all the properties of the selected elements (union) and
displaying only the properties that the selected elements have in common
(intersection). Values represented in italic font indicate common
properties that have differing values.
To set properties for multiple elements:
-
Hold down the Ctrl key and select each of
the elements. .
-
To change the list of properties displayed by the Property Inspector,
click the Union button in the Property
Inspector toolbar:
-
Selected state
displays all the properties of the selected elements
-
Unselected state
displays only the properties the selected elements have in common
-
Select and edit the desired property in the Property Inspector. If the
value is shown in italic font, the selected elements have differing
values. Editing the value of a shared property will cause all selected
elements to have the same value.
Related topics
About the XML Schema Editor
About XSD Element Display in the XSD Visual Editor
Displaying an XSD File for Editing
Navigating with Grab Scroll in the XSD Visual Editor
Expanding and Collapsing XSD Element Display
Zooming In and Out in the XSD Visual Editor
Selecting XSD Elements
Selecting Target Positions for XSD Elements
Inserting XSD Elements
Cutting, Copying, and Pasting XSD Elements
Moving XSD Elements
Deleting
XSD Elements
Copyright © 1997, 2004, Oracle. All rights reserved.