Changing the Display of XML Nodes

You can use node views to change the way the IDE displays XML documents in the Explorer and the XML editor. Node views enable to you filter out certain data from the node's presentation.

You can set different node views at different levels within a single XML document. For example, you can set one element to display nodes in one view while another element displays nodes in a different view.

To set the node view for a node:

  1. Right-click a node and choose Properties.
  2. Set the Node View property in the View tab. The combo box in Node View property contains any customized node views you have created as well as the following preset node views:

To set the default node view for all XML documents:

  1. From the main window, choose Tools and choose Options.
  2. Expand Editing and expand XML and select XML Editor Settings.
  3. Change the Default Node View Settings property.

    You can also set the maximum length of node display names in XML Editor Settings.

See also
Creating and Editing a Node View
XML Nodes in the Explorer
DTD Nodes in the Explorer
Editing an XML Document

Legal Notices