Part II. The XED scripting language

XED is a very small, very simple scripting language, leveraging the native XPath 1.0 implementation of XMLmind XML Editor, allowing to modify in place an XML document.

[Note]The initial context node of a XED script

A XED script modifies in place a single XML document. A XED script always has an XPath context node belonging to the document being modified. The initial context node is set by the environment running the XED script. This initial context node is always the document itself ("/") when the script is run by Paste AsPaste from Word Processor or Browser or by "xmltool indent -script in The xmltool command-line utility".