Creating and Editing a Node View

You can create a new node view in the IDE by copying an existing node view and customizing its properties.

To create a new node view:

  1. From the main window, choose Tools and choose Options.
  2. Expand Editing and expand XML.
  3. Right-click  XML Node Views and choose a node view from the New menu.
  4. Type a name for the new node view and click OK.

    A new node view appears under the XML Node Views node. The node view contains the same filters as the node view upon which it is based. You can customize these filters as described next.

To customize a node view:
  1. From the main window, choose Tools and choose Options.
  2. Expand Editing and expand XML and expand XML Node Views and select a node view.
  3. Set the display name for the node view in the Name property.
  4. Use the Short Description property to set a short description of what data the node view filters out.
  5. Click the ellipsis (...) button in the Node Filter property to edit the node view's filters. The Node Filter property editor shows a list of node types. If the "are in list" radio button is selected, the listed node types are displayed. If the "are not in list" radio button is selected, the listed node types are hidden and all other node types are displayed.

    You can add a new node type to the list by clicking the Add button. To change an existing node type, click the node type name and select a new node type from the combo box. Click OK when you are finished.

  6. Use the Group Nodes and Show Whitespace properties to set whether the node view groups its nodes and shows ignorable whitespace.
tip You can also customize existing node views from an XML node's property sheet. Right-click the node and choose Properties. Then click the Views tab and click the ellipsis (...) button in the Node Views property. You can customize existing node views as you would in the Options window.
See also
Changing the Display of XML Nodes
XML Nodes in the Explorer
DTD Nodes in the Explorer
Editing an XML Document

Legal Notices