XML Scripting

The available script format is XML.

  • The XML script file stores the actions to be executed in sequence by the application: processing is synchronous and blocking, each action runs as soon as the previous action is completed (no parallel threads).
  • The XML script file is passed to the exe as an argument with the -x option: replicationEZ C:\Notes\notes.ini -x C:\dev\Temp_XML\ReplicationEZ_DiscoverReplicas.xml
  • "=C:\Notes\notes.ini" -x "C:\Dev\MyScript.xml"

To avoid syntax errors, some characters must be escaped in scripts:

CHARACTERS THAT MUST BE ESCAPEDESCAPE
&&
<&It;
>&gt;
'&apos;
"&quot;

BAD:

<echo value="I'm happy that 6 > 5"/>


GOOD:

<echo value="I'm happy that 6 > 5"/>



Syntax errors caused by non-escaped characters look like this: