XML Scripting (Nashorn, EditiXManager)
Scripting is running JavaScript that talks to EditiX through the EditiXManager object. EditiX bundles the Nashorn 15.7 engine so scripting works out of the box. Save a .js file and attach it to a keyboard shortcut or a menu.
var nodeName = EditiXManager.prompt("Test", "YourNodeName");
if ( nodeName ) {
var doc = EditiXManager.getDocumentModel().getCurrentDocument();
doc.insertTextAt(doc.getCaretLocation(), "<" + nodeName + "></" + nodeName + ">");
}