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:

${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

${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

${ps}

Path Separator - The separator which can be used on different operating systems between libraries specified in the class path.

${timeStamp}

Time Stamp - The current Unix time on the computer which can be used to save transformation results in different output files on each transform.