How to: Add Schema Set Search Result Nodes to the Workspace
This topic explains how to add nodes that are highlighted in the XML Schema Explorer as the result of a keyword search in the workspace.
|Only global nodes can be added to the workspace.|
This example uses the sample Purchase Order Schema.
To add schema set result nodes
Follow the steps in How to: Create and Edit an XSD Schema File.
Type "purchaseOrder" in the search text box of the XML Explorer toolbar and click on the search button.
The search results are highlighted in the XML Schema Explorer and marked by ticks on the vertical scroll bar.
Add the search results to the workspace by clicking the Add highlighted nodes to Workspace button on the summary results pane.
purchaseOrdernode and the
PurchaseOrderTypenode appear next to each other on the design surface of the Graph View. Because the two nodes are related (the
purchaseOrderelement is of the
PurchaseOrderTypetype), an arrow is drawn between them.