Views

Introduction

The browser currently has three ways it can display a document:
  • Source - This displays the source of the document
  • Tree - This displays a tree of the document
  • Plain Text - This displays a plain text view of the browser

Source View

This view merely displays the source of the currently loaded XML document, as shown below.
View Options:
There are no view options in the source view.

Tree View

This view displays the document in two panes, as shown below. On the left is a graphical tree, where each element is a node, and each attribute is a leaf. If you select a node that contains any CDATA, then that will be displayed in the right-hand pane.
View Options:
There are four additional options for the tree view:
  • Expand All Nodes - Expands the tree fully
  • Collapse All Nodes - Collapses the tree fully
  • Expand Selected Nodes - Expands the currently selected nodes
  • Collapse Selected Nodes - Collapses the currently selected nodes

Text View

This view displays the document as an indented text tree. For each new level in the document tree, the text is indented a number of spaces. This can be very helpful for displaying both the structure and content of a document, especially on documents with little CDATA.
View Options:
There is one additional option for the text view:
  • Show Element Attributes - Whether or not to show element attributes.