¤ÈäîAdding a simpleType Component to an XML Schema File
See Also
You use a simpleType to define a simple type. A simpleType component specifies information and constraints about the values of attributes or text-only components.
To add a simpleType component:
- In the IDE, open the schema file where you want to add a simpleType component.
- Do one of the following:
- In the Schema view, right-click the node of the schema component where you want add a simpleType component and choose Add > Simple Type from the pop-up menu.
- In the Schema view, right-click the Simple Types node and choose Add Simple Type from the pop-up menu.
The Simple Type dialog box opens.
- In the Name field, type the name of the simpleType.
- Select the Derivation Method for the simpleType component.
- If you selected Restriction or List as the derivation method, define the Base Type.
- Click OK.
The IDE adds a node for the new simple type. The label of the node is the name you entered in the Name field.
- See Also
- Simple Type Dialog Box
- About XML Schema Tools
Legal Notices