Skip to content

XML Tree View

Josh Johnson edited this page Jun 16, 2017 · 9 revisions
v1.9.0+

The XML Tree View is baked right into the file explorer sidebar. No need to run a command, just start exploring!


v1.8.0 and Below:

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.