Adding a Reference Component to an XML Schema File
See Also
You use reference to create a reference to a named component in your schema and any schema files referenced in your schema.
To add a reference:
- In the IDE, open the schema file where you want to add the reference.
- In the Schema view, right-click the node of the schema component where you want to add the reference and choose Add > component Reference from the pop-up menu.
component can be one of the following:
- Attribute
- Attribute Group
- Element
- Group
The component Reference dialog box opens.
- Use the nodes in the selection box to navigate to and select the component you want to reference.
- Click OK.
The IDE adds a reference node to the Schema view. The icon for the reference node matches the icon of the component you referenced, with an arrow (
) on top of the component icon.
For example, an element reference has the following icon:
.
- See Also
- Reference Dialog Box
- About XML Schema Tools
Legal Notices