Finding Usages of XML Schema Components
See Also
Using the Schema view, you can quickly display usages of a schema component in all the .xsd files in your project. For example, if schema-ref-1.xsd and schema-ref-2.xsd reference the myComponent complexType in schema-main.xsd of your project, you can select myComponent in the Schema view of schema-main.xsd and invoke the Find Usages command to see where those references occur in the files.
To find usages of a schema component:
- In the IDE, open the schema file (.xsd) you want to work with.
By default, the IDE opens the Schema view for the XML schema file.
- In the Schema view, select the schema component for which you want to see usages.
- Right-click and select Find Usages from the pop-up menu.
The IDE opens an XML Usages window in the lower part of the IDE. The first time you invoke the Find Usages function, the window has no tabs. For each consequent query, the IDE adds a Find XML Usages tab that shows the usages of the component you selected.
- See Also
- XML Usages Window (XML Schema Tools)
- Analyzing XML Schemas
- About the Schema View
- About XML Schema Tools
Legal Notices