Adding a Global 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. The parent of a global simpleType component is the schema component.
To add a global simpleType component:
- In the IDE, open the schema file where you want to add the global simpleType component.
- Do one of the following:
- In the Schema view, right-click the root node of the schema 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
- Adding a Local simpleType Component to an XML Schema File
- Simple Type Dialog Box
- About XML Schema Tools
Legal Notices