Context Menus (XML Schema Explorer)
The following context menu items are used to perform schema-specific searches and other operations.
Node Type: Schema Set
The following table describes the options that are available for a schema set node.
Option | Description |
---|---|
Show Most Likely Root Elements |
Finds and highlights all global elements that are not referenced from global elements other than themselves. |
Show Global Types |
Finds and highlights all global types in the schema set. |
Show Global Elements |
Finds and highlights all global elements in the schema set. |
Properties Window |
Opens the Properties window (if it is not already open). This window displays information about the node. |
Node Type: Namespace
The following table describes the options that are available for a namespace node.
Option | Description |
---|---|
Show All Inbound References |
Finds and highlights files that import the selected namespace. |
Show All Outbound References |
For every file in the selected namespace, finds and highlights the following:
|
Show Global Types |
Finds and highlights all global types in the selected namespace. |
Show Global Elements |
Finds and highlights all global elements in the selected namespace. |
Properties Window |
Opens the Properties window (if it is not already open). This window displays information about the node. |
Node Type: File
The following table describes the options that are available for a file node.
Option | Description |
---|---|
Show All Inbound References |
Finds and highlights all files that specify the selected file in the |
Show All Outbound References |
Finds and highlights the following:
|
Show Global Types |
Finds and highlights all global types in this file. |
Show Global Elements |
Finds and highlights all global elements in this file. |
View Code |
Opens the file that contains the selected node in the XML Editor. The item that is selected in the XML Schema Explorer will also be selected in the XML Editor. |
Properties Window |
Opens the Properties window (if it is not already open). This window displays information about the node. |
All Global Node Types
The following table describes the options that are available for all global nodes.
Option | Description |
---|---|
Show in Graph View |
Opens the Graph View. If the selected node is not in the workspace, adds it to the workspace and selects the node. |
Show in Content Model View |
Opens the Content Model View. If the selected node is not in the workspace, adds it to the workspace and selects the node. |
View Code |
Opens the file that contains the selected node in the XML Editor. The item that is selected in the XML Schema Explorer will also be selected in the XML Editor. |
Properties Window |
Opens the Properties window (if it is not already open). This window displays information about the node. |
Node Type: Element
In addition to the global node options described above, the context menu for element nodes has the following options:
Option | Description |
---|---|
Go To Type Definition |
Navigates to the type definition of the selected element. This is applicable when the type that is used for the element is a global type. |
Go To The Original Element |
For element references, navigates to the actual definition of the element. |
Show All References |
For global elements, finds and highlights all references (elements that have |
Show Members Of Substitution Group |
For heads of a substitution group, finds and highlights all elements that are members of the substitution group of which the selected element is a member. This shows direct and indirect participants. |
Show Substitution Group Heads |
For global elements that are members of a substitution group, finds and highlights all direct and indirect heads for the selected element, such as the following:
|
Generate Sample XML |
Available only for global elements. Generates a sample XML file for the global element. |
Node Type: Global Types
In addition to the global node options described above, the context menu for global type nodes has the following options:
Option | Description |
---|---|
Show Base Type |
If the selected type is derived from a global type, navigates to the base type of the selected type. |
Show All References |
Finds and highlights all references to the selected type. This includes elements and attributes of the selected type and types derived from the selected type. |
Show All Derived Types |
Finds and highlights all types that are directly and indirectly derived from the selected type. |
Show All Ancestors |
Show all parent (base) types. |
Node Type: Attribute
In addition to the global node options described above, the context menu for attribute nodes has the following options:
Option | Description |
---|---|
Go To Type Definition |
When the type that is used for the attribute is a global type, navigates to the type definition of the selected attribute. |
Go To The Original Attribute |
For attribute references, navigates to the actual definition of the attribute. |
Show All References |
For global attributes, finds and highlights all references (other attributes that have |
Node Type: Attribute Group
In addition to the global node options described above, the context menu for attribute group nodes has the following options:
Option | Description |
---|---|
Go To Definition |
For references, navigates to the actual definition of the attribute. |
Show All Members |
Finds and highlights all members of the attribute group. |
Show All References |
Finds and highlights all references (attribute groups that have |
Node Type: Named Group
In addition to the global node options described above, the context menu for named group nodes has the following options:
Option | Description |
---|---|
Go To Definition |
For references, navigates to the actual definition of the attribute. |
Show All Members |
Finds and highlights all members of the named group. |
Show All References |
Finds and highlights all references (groups that have |
See Also
Concepts
XML Schema Explorer
Searching the Schema Set (XML Schema Explorer)