Editor variables

An editor variable is a shorthand notation for a file path or directory path. It is used in the definition of a command (the input URL of a transformation, the output file path of a transformation, the command line of an external tool, etc.) to make the command generic. When the same command is applied the notation is expanded so that the same command has different effects depending on the actual value of the notation.

The following editor variables can be used in <oXygen/> commands:

${oxygenHome}

Oxygen installation directory as URL

${oxygenInstallDir}

Oxygen installation directory

${frameworks}

the path of the frameworks subdirectory of the <oXygen/> install directory as URL

${frameworksDir}

the path of the frameworks subdirectory of the <oXygen/> install directory

${home}

the path of the user home directory as URL

${homeDir}

the path of the user home directory

${pdu}

Project directory as URL

${pd}

project directory - the path of the current project directory

${cfdu}

current file directory url - the path of the current edited document up to the name of the parent directory as URL

${cfd}

current file directory - the path of the current edited document up to the name of the parent directory

${cfn}

current file name - the name of the current edited document without extension and parent directory

${cf}

current file - the absolute file path of the current edited document

${currentFileURL}

current file as URL - the absolute file path of the current edited document as URL