4.7 The XML Editor

The XML Editor is what sets Inkscape apart from all other vector editors. This is where you can see the entire raw source of your document, with nothing hidden or (mis)interpreted. Quite simply, if something cannot be seen in the XML Editor, it’s not in your document.

If you want to learn SVG or are simply interested in what is behind some of the objects or properties of your document, the XML Editor is your primary tool. Here, you can do absolutely anything to your document. One might claim that the XML Editor is the only essential part of the program, everything else being just optional conveniences!

The XML Editor is completely synchronized with the rest of the program. Any changes you make in the XML tree are immediately reflected on your canvas, and any changes you make with any other tools are immediately visible as element or attribute changes in the XML Editor.

The three panes of the XML Editor

Figure 4-11. The three panes of the XML Editor

The XML Editor has three main panes, as shown in Figure 4-11. There’s also a status bar of its own at the bottom, displaying various status information and hints.

Left pane

Top-right pane

Bottom-right pane