Changing the Display of XML Nodes

You can use node views in the XML module to change the way XML documents are displayed in the Explorer and the tree editor mode of the Source Editor. Node views let 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 task to display nodes in one view while another task displays nodes in a different view. You can customize which data your node views filter out and create customized node views.

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. Choose Tools and choose Options from the main window.
  2. Expand Editing and expand XML and select Tree Editor Settings.
  3. Change the Default Node View Settings property. You can also set the maximum length of node display names in Tree Editor Settings.
See also:
XML Nodes in the Explorer
The Text Editor
The Tree Editor

Legal Notices