Variable | Substituted in | Value |
---|---|---|
%I | Output file field, XSLT stylesheet parameter value, XSL-FO processor parameter value, process command. | The input file. |
%X | XSLT stylesheet parameter value, XSL-FO processor parameter value, process command. | The XSLT stylesheet file. When there is no transform step or when the XSLT stylesheet is not located on the local file system, the value of this variable is the empty string. Note that the value of variable |
%W | XSLT stylesheet parameter value, XSL-FO processor parameter value, process command. | A temporary working directory always created by a conversion, just in case it could be useful. Not available when the " " checkbox is checked. |
%T | XSLT stylesheet parameter value, XSL-FO processor parameter value, process command. | The temporary file generated by the transform step. This temporary file is created in the directory of the input file, that is Remarks:
This variable is always equal to |
%O | XSLT stylesheet parameter value, XSL-FO processor parameter value, process command, preview command. | The output file or directory. |
%S | Everywhere: output file field, XSLT stylesheet parameter value, XSL-FO processor parameter value, process command, preview command. | Portable filename separator: '\ ' on Windows, '/ ' on all the other platforms. |
The following variables: %i
, %x
, %w
, %t
, %o
are the URI counterparts of the variables representing filenames: %I
, %X
, %W
, %T
, %O
. Examples:
If the value of variable %I
is C:\Users\john\Documents\doc src\manual.xml
, then the value of variable %i
is file:/C:/Users/john/Documents/doc%20src/manual.xml
.
If the value of variable %x
is http://docbook.sourceforge.net/release/xsl-ns/1.79.1/fo/docbook.xsl
, then the value of variable %X
is the empty string.
When a variable represents a filename or an URI, the following modifiers allow to refer to a part of this filename or URI. Let's suppose that the value of variable %I
is C:\Users\john\Documents\doc src\manual.xml
.
Modifier | Description | Example |
---|---|---|
~p | Parent directory. |
|
~n | Basename of the file, including the extension. |
|
~r | Basename of the file, without the extension. |
|
~e | File extension, if any. |
|