Thank you. The issue I had was probably related to me forgetting about the cache issue.

Leif Halvard Silli

Den 25.02.2026 10:24, skreiv Hussein Shafie:
Leif Halvard Silli wrote:
In the «XMLmind XML Editor - Configuration and Deployment» document [1],
the Chapter 5 talks about «Customizing an existing configuration»[2].
The examples listed there, do not include <saveOptions> – which is
mentioned in section 26 of Chapter 6. Configuration elements»[3].

My simple question is this: Can <saveOptions /> be used in
customizations? Or must it be «hard coded» inside the addons found
inside */addon/config. For instance, one may edit the <saveOptions/>
element inside */addon/config/xhtml/xhtml_common.incl  – but could one
also add <saveOptions/> after the <include /> element in the
customizations example found in chapter 5 – see footnote [2] ?

[1] https://www.xmlmind.com/xmleditor/_distrib/doc/configure/index.html
[2]
https://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html
[3]
https://www.xmlmind.com/xmleditor/_distrib/doc/configure/saveOptions.html

Yes, just like any other configuration element, you can add <saveOptions/> to a customization of a stock configuration.

As configuration elements are processed in load order, yes, you must specify your custom <saveOptions/> *after* <include/>-ing the stock configuration.

The only specificity of <saveOptions/> is that it is *cumulative*. That is, it does not *replace* the <saveOptions/> element previously found (or included from) in a configuration file. Instead options are *merged*. See example at the very end of https://www.xmlmind.com/xmleditor/_distrib/doc/configure/saveOptions.html

As always:

* Configurations having the same priority are sorted using their file basenames. That's why we suggest to name your custom configuration file "0xhtml5.xxe" if you are customizing the stock "xhtml5.xxe", for example.

* When creating or customizing a configuration, please do not forget to clear or temporarily disable the Quick Start Cache. See https://www.xmlmind.com/xmleditor/_distrib/doc/help/advancedOptions.html#cacheOptions

A simple way to do this is to simply delete the "XXE_user_preferences_dir/cache/" directory, where XXE_user_preferences_dir is:

- $HOME/.xxe11/ on Linux.

- $HOME/Library/Application Support/XMLmind/XMLEditor11/ on the Mac.

- %APPDATA%\XMLmind\XMLEditor11\ on Windows. Example: C:\Users\john\AppData\Roaming\XMLmind\XMLEditor11\.

--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to