1. Changing the title and icon

tutorial/tutorial1.xxe_gui:

<?xml version='1.0' encoding='UTF-8'?>
<gui xmlns="http://www.xmlmind.com/xmleditor/schema/gui"1
     xmlns:gui="http://www.xmlmind.com/xmleditor/schema/gui">

  <include location="xxe-gui:app/default.xxe_gui" />2

  <translation location="custom_gui_en.properties" />3

  <layout label="Document Editor" icon="docedit.png">4
    <insert />5
  </layout>
</gui>
1

The namespace of GUI specification elements is "http://www.xmlmind.com/xmleditor/schema/gui". The corresponding schema is found in XXE_install_dir/addon/config/gui/xsd/gui.xsd.

2

All customizations should start by including "xxe-gui:app/default.xxe_gui" (or "xxe-gui:app/simple.xxe_gui" if you intend to customize simple.xxe_gui) because default.xxe_gui contains the declarations of all stock parts.

Note

URLs starting with "xxe-gui:" work because XXE dynamically adds to its XML catalog a rule similar to this one:

<rewriteURI uriStartString="xxe-gui:" 
            rewritePrefix="jar:file:/opt/xxe/bin/xxe-app.jar!/gui/" />
3

GUI specification files can be localized by using translation elements. For more information please consult the reference part of this document.

4

The layout element has label and icon attributes specifying the title and desktop icon of the XML editor.

5

Without the use of insert, the above layout would have been understood as a redefinition from scratch of the standard layout of the XML editor. Such XML editor would have had a blank main window.