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:
- Right-click a node and choose Properties.
- 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:
- Data Only Node View. Includes whitespace in element content.
Hides comments and processing instructions.
- Grouped DTD Node View. Displays DTD nodes in groups by type.
Hides all whitespace in element content.
- Linear Node View. Displays all nodes in the same order as
they appear in document.
- (reset to parent's value). Resets the node view to match
the parent node's current node view.
To set the default node view for all XML documents:
- Choose Tools
Options
from the main window.
- Expand Editing
XML
and select Tree Editor Settings.
- Change the Default Node View Settings property. You can also set the maximum
length of node display names in Tree Editor Settings.
Legal Notices