Skip to content

XML Tree View

Josh Johnson edited this page Feb 20, 2016 · 9 revisions

To view an XML document in a hierarchical tree view, execute the XML Tools: View XML Tree command with any XML document open in the editor. A new editor pane will open with the tree view. Icons are used in the tree view to denote the type of data being displayed:

  • - XML Element
  • - XML Attribute
  • - Inner Text

📑 Developer Tip
This extension implements an ad-hoc URI protocol (xmltree://) that can be used by any other extension to open an XML document in the "XML Tree View" mode. The protocol is very simple. The URI should start with xmltree://, followed by a URL-encoded file:// or untitled:// URI. The document provider behind this extension will open/focus the referenced document prior to opening the XML tree view.