Use the menu item File -> Open
You can also drag files from a file manager into the program window and "drop" them there.
The menu items File -> Opened Recently allow you to find a list of the most recently opened XML files.
2.1 Change node name and text content
There are several ways to change the names and text contents of nodes. You can use the fields above the tree, edit the the "Edit" tab, or edit it directly in the tree. Modifications become immediately visible.
Direct editing can be achieved by:
Name=Text means that name and text are entered separated by an equal sign, e.g. working_time=approx. 10 min.
Alternatively, you can use the following buttons to use a mode directly:
At this point, you can also specify whether editing is generally possible and whether drag-and-drop is enabled for the tree.
Texts can be wrapped in the "Edit" tab or displayed with a fixed character width font.
These changes are marked in the tree, more
in chapter:
6. Undo/History
2.2 Selection lists for node names/attribute names
Entering a name for a node/attribute displays a list of names that are already known. Such as:
This list is made up of the existing nodes/attributes and names from the specification of XML schema or XML style sheets. For example, if a style sheet is still empty, the names for style sheets are selected:
To do this, the list entry does not have to start with the entered text, also parts of text within a list entry are found.
Which mode is used for selection lists can be set via the menu item Edit -> Selection lists.
Re-Read: Sometimes it may be necessary to re-read the list entries. For this purpose, the menu item Edit->Selection Lists -> Refresh Selection Lists is available. This completely renews the lists of names formed for each file.
To change the type of node, please select the node in the tree and click on the icon "Change Node Type":
2.4 Edit node text multi lined
If you want to set longer or multiline text for a node, the Easy XML Editor Pro provides the function "Edit Multi Lined". To do this, please select the relevant node in the tree and click on the icon or press CTRL+T (MacOS: CMD+T):
The "Edit Multi Lined" window opens. This makes it easier to edit detailed text on a node.
If a node text contains a line break, it can only be changed by the multiline editing function.
The dialog box also offers the use of short texts. These allow quick input of values (also via short keys).
To edit the attributes, please select the corresponding node. In the "Attributes" tab (right), you can add, delete, and edit attributes.
Changes affect the tree immediately. Helpful keyboard shortcuts for the fields are:
The layout of these edit fields is variable. You can drag the mouse to move the selected boundaries (to do this, hold down the left mouse and move the mouse).
In addition, you can also edit the attributes directly in the tree using the following keyboard shortcuts:
CTRL+1:
ALT+1:
Select one or more nodes to add a node to. Then use the context menu (right mouse button in the tree) or icon to select the "Add Node" function.
A new subnode is then added to each selected node. Another variation for adding nodes is described in the next point.
2.7 Add elements/attributes using dialog
If you want to add a specific element/attribute to multiple nodes, please select the relevant nodes and press one of the following keys on the keyboard:
A corresponding input window will appear. Similar to the "Attributes" and "Child Nodes" tabs, the following keyboard shortcuts can be helpful here:
Please enter the name and text content for the new nodes and confirm them with "Ok". The elements/attributes are added to the selected nodes.
2.8 Copy nodes to the clipboard
You can have a selection of nodes copied as text to the clipboard.
To do this, select the relevant nodes (with the CTRL or SHIFT key pressed) and select Copy.
You can make settings for copying in the "Changes" tab:
2.9 Insert elements and attributes from the clipboard
To do this, select one or more nodes to add the contents of the clipboard to. Via the context menu (right mouse button) or the corresponding icon you can reach the paste function.
You can also insert attributes. To do this, text in the format [name]="[text]" must be in the clipboard, several lines are possible. Here is an example. This adds the "id" and "type" attributes.
You can delete one or more nodes with an operation. To do this, select the relevant nodes and select the delete function via context menu (right mouse button) or icon.
Use the Move option to change the order of a node's child node. To move the node in question and click on the corresponding icon.
For easier handling, the move operations can also be triggered by mouse wheel. To do this, select a node and hold down the ALT key (or: Ctrl). Now move the mouse wheel up or down, the node is moved accordingly.
You can do the same with ALT+Arrow up, ALT+Arrow down.
The so-called Modificator allows you to formulate a set of conditions. If they apply to one or more nodes, appropriate actions can be applied to the nodes concerned.
This allows very flexible correction operations. The modifier can be reached via Tools->Modificator:
In this example, a child "Rating" is added for each node "Person" with existing attribute "name":
You can have the actions applied to the current file (see window title) or all open files. If "Selection Only" is enabled, searches only from the selected node.
The Easy XML Editor Pro provides the ability to easily create copies of existing attributes/nodes that could fit in place.
The "Quick Add" tab displays the suggestions:
Moving the mouse over the entries will display a preview. Click on a suggestion to add it. The option "Add Empty" removes all text content if activated.
As an alternative to editing the XML data in the tree view, you can also edit the XML text directly. You can apply changes to XML text back to the tree view.
When the file is open, you can reach the XML Text via the icon in the toolbar.
Use "Apply Changes" and "Discard Changes" to apply the changes in XML text to the tree or discard any changes you make.
4.2 Select node of the tree in XML Text
For better orientation, you can select XML text for a node in the tree using the "Select In XML Text" function.
The full-text search can be accessed via the "Search" tab in the lower part of the main window:
Here you can perform a full-text search of the nodes and node attributes of the XML tree. The search results are conveniently displayed in a list.
For example, the list of search results might look like this:
When you click on a row of the list, the XML Tree view jumps to that node.
The following options are available for the search:
The Easy XML Editor Pro can mark all changes to the XML Tree.
Whether changes are marked in the tree display, use the menu item View->Track Changes:
If this option is activated, changes are marked in color or with strikethroughs.
All changes to the XML Tree are listed in the Undo/History tab. You can find the tab in the lower part of the main window:
With the "Undo/"Redo" or CTRL+Z, CTRL+Y buttons, you can take one step back or forward.
Via the menu item "Clear History..." (also in context menu of the undo list) you can delete the change history. This will no longer mark the changes, please note that you will not be able to undo/redo.
With the Easy XML Editor Pro, you can map your XML data to tables and make changes in a completely new, clear way.
To do this, you need to specify how the XML nodes are mapped to a table. The following example shows how this can be done:
7.1 Selection of the base node
Please select the node whose children or children contain the data to be edited. In our example, this is the root node "Persons". It contains several recipes with their data:
7.2 Editor for table configuration
Child nodes are already found that have further content, by clicking on the buttons an automatic configuration for child nodes can be used (Button "Person: 8x"):
Then open the configuration by clicking on the gear icon:
The editor opens:
It is used to determine the table configuration, more information in the next step.
The selector determines which rows are visible in the table. A line appears for each element selected in the XML.
XPath: Using XPath is an alternative to selecting content/elements. You enter your own XPath expression.
The disadvantage of XPath, however, is that only existing content can usually be found and edited with it.
Starting from the selector, set different columns. The optional path specifies how the element/attribute can be reached from the selected element of the row of the table.
There are different types of columns:
For further use, the table configuration can be stored in the current user's user directory.
Enter a suitable title and write with the "Save" button. Table configurations are XML files that are organized by "Manage..." in the table configuration select list in the "Table Edit" tab, can be deleted/moved.
7.6 Performing the changes to the XML data
Saving a created table configuration selects it to edit the data.
Double-clicking a cell in the table allows you to change the value directly.
Each change immediately affects the tree view:
Using the "Add Row(s)" icon to the left of the table, you can insert a new row below the selected row:
You can also do this with the keyboard shortcuts INSERT and CTRL++.
You can delete the selected row of the table using the "Delete Selected Rows" icon to the left of the table:
You can also do this with the CTRL+DEL key combination.
Normally, the contents of the table change when you select a new node in the tree. This can be prevented by enabling the "Fix to current node" option. If the selection of the tree is changed, the table view remains on the previously selected node.
It is possible to open multiple tables at the same time and, if necessary, offload them to windows. The tables can also depend on each other, i.e. the selection in one table determines the contents of another table.
You can sort the table by individual column. To do this, please click to the corresponding column title 1x or 2x depending on whether the sorting should be ascending or descending.
Right-clicking the column title and "Reset Sorting" cancels the sorting setting.
You can easily change data from multiple rows with the "Change Values" feature. To do this, select the relevant lines. With selecting rows the CTRL and SHIFT keys will help you. When the CTRL key is pressed, a clicked line will be added to the selection. With SHIFT pressed, all lines between the last selection and the clicked line are added. This allows you to select any combination of rows.
If rows are selected, please click right-click in the table. A menu will appear with the item "Change Values..." and click on it.
The "Change Values" window will appear. By selecting the check boxes, you specify whether the value of this column should be reset at all. If so, please enter the new text to the right of it.
Use the "delete" check boxes to remove the node (with subnodes!) or attribute.
You can export the table a) to the clipboard b) to a file or c) different files in a directory. To do this, choose "Data Export..." in the context menu or the icon "Options: Edit Table"->"Export...":
A dialog box opens, here you can make various settings for export:
By clicking on the "Export" button, the data is exported according to the settings.
The settings of this dialog also affect the copying of table cells (Delimiter, Field limiter, Text for no value)
When a file is opened, the encoding will be determined automatically.
Please use the menu item File->Encoding to specify in which character encoding the file should be stored:
On the Encoding page of the Options dialog, you can set the default for new files. This setting is also used when no encoding can be detected when opening a file (for example, if <?xml encoding="..." ?> is missing).
With the Easy XML Editor Pro, you can also edit XML files as a graph. To do this, the individual nodes are displayed as rectangles, which you can arrange as desired. The following illustration shows an example:
When represented as a graph, each node consists of these components:
In the following, the graphical representation of a single node is referred to as a "box".
9.1 Open Graphical Editing/Zoom
You can enter the graph view via the corresponding icon in the toolbar:
A zoom can be selected for the view (top right). You can also adjust the zoom with the mouse wheel while the CTRL button is pressed.
To select multiple boxes, drag a border while holding down the left mouse button.
Selected boxes are marked. You can also use the SHIFT-Key to add new boxes to the current selection.
To display the bottom nodes, click the number in the parent node line, and click the "x" to hide a node in the upper right corner.
Alternatively, you can view/hide all subnodes by clicking a right-click free area in the box and selecting "Show All Children", "Hide All Children" or "Hide Element" from the context menu.
The data of a displayed node can be changed directly in the graph. To do this, select a box in the view (by clicking with the left mouse button). The individual fields can also be selected directly.
To change the texts, simply change the field contents.
The Plus signs on the left are for adding (at the end) and inserting (in between) contents or attributes.
The Plus signs on the right to add child nodes to the corresponding node.
Click on the Trashbin-Icons to delete the respective child node or attribute.
The alignment and distribution functions can be accessed either via the icons on the left or via the context menu.
For each box, you can specify in which direction the lines leave them. In this example, the lines leave the top box down. (Default is "from the right")
To achieve this, select one or more boxes and select one of the icons on the left.
The location where the lines hit the child nodes is adjusted accordingly.
To continue editing at a later time, you can save the arrangement of the boxes in a so-called layout and load them again later. The list of layouts is located at the top left of the window:
Click on the "Save" button to save a layout.
A dialog box appears to enter the name of the layout. The currently displayed arrangement of the boxes is then written to the layout.
To load a layout, select an entry from the list. A layout stores which child boxes are positioned where. It is therefore also possible to apply a layout to a different XML file than it was created with.
You can print the current view by clicking on the icon (left in the window).
10.1 Save/Display: Configure XML output
To control the output of the XML text, you can specify more precisely:
The settings can be found in the "Options" dialog box (Menu View>Options):
Indentation: For indentation, you specify which character is used to indent (space, tab) and the number of characters for every new level.
Entities: When saving XML, special characters (so-called entities) can either actually be stored as characters (e.g. €, &), or instead stored encoded in text (e.g. € for the euro sign). You specify how the special characters are written in elements or attributes on this page.
Numeric encoding for entities from 160: This means that the relevant special characters starting from decimal 160 will be encoded:   ¡ ...
Some settings (&, <, ") are not changeable because they are mandatory to create valid XML files.
Attributes:
Output attributes sorted: Here you can sort attributes by attribute name or text:
Indent attributes: Here you specify how many characters attributes can take until a line break is inserted. For example:
Without indentation:
With indentation:
Left-aligned means that the attributes are indented with the beginning of the first attribute.
You can output the currently visible section of the tree view or the text view of an XML file to a printer.
To print the current view of the XML tree, select the "File -> Print..." menu item.
Several export options to HTML/Markdown/CSV/Text/JSON are available.
To do this, select the entry "File -> Export..." from the menu.
For example, the result is as:
This section summarizes the most important usage notes for the Easy XML Editor Pro, which are not immediately recognizable even for experienced users at first glance.