Execute ant (see build.xml
) in the samples/commands/
directory to compile all sample commands: InsertCharByCodeCmd.java
, ConvertCaseCmd.java
, ShowMatchingCharCmd.java
, WrapElementCmd.java
, MakeParagraphsCmd.java
. The build creates commands.jar
.
Register the commands with XXE by copying customize.xxe
to
. XXE user preferences directory is:XXE_user_preferences_dir
/addon/
on Linux.$HOME
/.xxe10/
on the Mac.$HOME
/Library/Application Support/XMLmind/XMLEditor10/
on Windows. Example: %APPDATA%
\XMLmind\XMLEditor10\C:\Users\john\AppData\Roaming\XMLmind\XMLEditor10\
.
If you cannot see the "AppData
" directory using Microsoft Windows File Manager, turn on Tools>Folder Options>View>File and Folders>Show hidden files and folders.
Delete directory
(which is equivalent to clearing the Quick Start cache in XMLmind XML Editor - Online Help).XXE_user_preferences_dir
/cache/
Restart XXE.
Open any XHTML document, for example samples/tests/in/sample1.html
, then test the sample commands by using the following bindings:
Binding | Command |
---|---|
F4 i | InsertCharByCodeCmd |
F4 u | ConverCaseCmd upper |
F4 l | ConverCaseCmd lower |
F4 c | ConverCaseCmd capital |
) | ShowMatchingCharCmd ) |
} | ShowMatchingCharCmd } |
] | ShowMatchingCharCmd ] |
F4 t | WrapElementCmd |
F4 w | Macro invoking MakeParagraphsCmd p followed by paste after[implicitElement] |