The XMLSpy XML Viewer provides seven powerful, synchronized views that allow you to view XML-based code in multiple ways, whether you prefer to see the code in text or a graphical view.
Helpful visual cues in both Text View and the tree-like Grid View make viewing and understanding XML files easy. If you need to edit the XML code, intelligent entry helpers and SmartFix XML validation provide helpful editing guidance and automatic correction of validation errors.
The various tabs of the XML Viewer are customized for XML instances, schemas, WSDL, XBRL, or other formats. When you make a change in one of the graphical XML views, the change is automatically reflected in the text view, helping you immediately understand relationships and the impact of every change.
XMLSpy also supports complimentary technologies such as JSON, HTML, CSS, and Avro making it easy to view and edit big data and web code.
When you open an XML file in the text-based XML viewer, XMLSpy provides numerous features to help you visualize, navigate, and understand the structure of the file.
Customizable syntax coloring in XML Text View displays the different components of the XML document - elements, attributes, content, and so on - in different colors for immediate understanding.
Line numbering allows for easy file navigation. You can go directly to any line and character number using a button on the XMLSpy toolbar. Bookmarking lets you set points of reference in the text that you can jump back to at any time. Bookmarks are displayed in the margin adjacent to the line numbers.
Source folding lets you expand and collapse portions of the XML file you are viewing, taking advantage of the hierarchical structure of XML to present your document in a neat and orderly manner. Indentation guides show the logical links between corresponding opening and closing element tags within the file.
Another useful feature of the text-based XML viewer is the pretty-print button, which reformats your XML document by indenting opening and closing element tags so that the layout reflects the structure of the document. Pretty printing makes it easier for the human eye to scan and understand the XML markup, and edit the XML document.
Intelligent XML editing features such as code completion, context-sensitive entry helper windows and drop down menus, and more make the job easy.
If you'd prefer to view XML in a tree representation, click over to Grid View. This shows the hierarchical structure of any XML-compliant document through a set of nested containers. These can be easily expanded and collapsed to get a clear picture of the XML document's tree-like structure.
XML Grid View also includes database/table view, which automatically detects sequences of repeating elements and rearranges the presentation to show these elements in a tabular grid. The tabular view is a well-known paradigm that resembles database- or spreadsheet-like applications. The XML viewer achieves this database/table representation by showing the respective attributes and sub-elements of the repeating element as columns in the table.
In Grid View, the XML viewer provides the same intelligent XML editing functionality available in Text View, with the addition of drag and drop editing options enabled by the graphical display.