Okapi ComponentsXSL Transformation Utility |
|
- The utility set identifier for this utility is: oku_set02
- The utility identifier is: xsltransformation
The XSL Transformation utility allows you to apply a specified XSL template to a set of XML input documents and create the corresponding output.
No filter is used by this utility. Any XML document can be processed.
The common parameters are the options specified from the application calling the utility rather than in the options dialog box of the utility itself. For this utility the common parameters you need to specify are the following:
Files of the first input list | - Needed (the files to convert) |
Root for the first input list | - Not Needed |
Files of the second input list | - Possibly Needed |
Root for the second input list | - Not Needed |
Files of the third input list | - Possibly Needed |
Root for the third input list | - Not Needed |
Input language | - Possibly Needed |
Output language | - Possibly Needed |
Input default encoding | - Not Needed |
Output default encoding | - Not Needed |
Location and names for output files | - Needed |
The option available are:
XSL Template to apply to the input files -- Enter the full path of the XSL template you want to apply to the XML input documents.
Parameters -- Enter the list of any parameters you need with the
template. Each parameter is a name/value pair one line, in the form: name
= value
. Any trailing and leading spaces around the name and value are
removed. For example:
name1 = value1 name2=value2 name3 = value for param3 compFile=<InputPath2>
In the string values of the parameters you can use the following variable placeholders:
<SrcLangCode>
to represent the current input language code.<trgLangCode>
to represent the current output language
code.<InputPath1>
to represent the full path of the each input
file in the Input List 1.<InputPath2>
to represent the full path of the each input
file in the Input List 2.<InputPath3>
to represent the full path of the each input
file in the Input List 3.Allow the use of the document()
method --
Set this option is you want your XSL template to be able to use the
document()
method.
Enable embedded scripts -- Set this method to allow the usage of any script embedded in the XSLT template.