XSLT

www.altova.com Expand/Collapse All Print this Topic Previous Page Up One Level Next page

Home >  Command Line Interface (CLI) > Options >

XSLT

Click to expand/collapsechartext-disable

--chartext-disable = true|false

Disables chart extensions. Default value is false.

Note:   Boolean option values are set to true if the option is specified without a value.

 

Click to expand/collapsedotnetext-disable

--dotnetext-disable = true|false

Disables .NET extensions. Default value is false.

Note:   Boolean option values are set to true if the option is specified without a value.

 

Click to expand/collapseindent-characters

--indent-characters = VALUE

Specifies the character string to be used as indentation.

 

Click to expand/collapseinput

--input = FILE

The URL of the XML file to be transformed.

 

Click to expand/collapsejavaext-barcode-location

--javaext-barcode-location = FILE

Specifies the path to the folder that contains the barcode extension file AltovaBarcodeExtension.jar. The path must be given in one of the following forms:

 

A file URI, for example: --javaext-barcode-location="file:///C:/Program Files/Altova/RaptorXMLXBRLServer2019/etc/jar/"
A Windows path with backslashes escaped, for example: --javaext-barcode-location="C:\\Program Files\\Altova\\RaptorXMLXBRLServer2019\\etc\\jar\\"

 

Click to expand/collapsejavaext-disable

--javaext-disable = true|false

Disables Java extensions. Default value is false.

Note:   Boolean option values are set to true if the option is specified without a value.

 

Click to expand/collapseoutput, xsltoutput

output = FILE, xsltoutput = FILE

The URL of the primary-output file. For example, in the case of multiple-file HTML output, the primary-output file will be the location of the entry point HTML file. Additional output files, such as generated image files, are reported as xslt-additional-output-files. If no --output or --xsltoutput option is specified, output is written to standard output.

 

Click to expand/collapseparam [p]

--p | --param = KEY:VALUE

Specifies the value of an external parameter. An external parameter is declared in the XQuery document with the declare variable declaration followed by a variable name and then the external keyword followed by the trailing semi-colon. For example:

 declare variable $foo as xs:string external;

Because of the external keyword $foo becomes an external parameter, the value of which is passed at runtime from an external source. The external parameter is given a value with the CLI command. For example:

 --param=foo:'MyName'

In the description statement above, KEY is the external parameter name, VALUE is the value of the external parameter, given as an XPath expression. Parameter names used on the CLI must be declared in the XQuery document. If multiple external parameters are passed values on the CLI, each must be given a separate --param option. Double quotes must be used if the XPath expression contains spaces.

 

Specifies a global stylesheet parameter. KEY is the parameter name, VALUE is an XPath expression that provides the parameter value. Parameter names used on the CLI must be declared in the stylesheet. If multiple parameters are used, the --param switch must be used before each parameter. Double quotes must be used around the XPath expression if it contains a space—whether the space is in the XPath expression itself or in a string literal in the expression. For example:

 

raptorxmlxbrl xslt --input=c:\Test.xml --output=c:\Output.xml --param=date://node[1]/@att1 --p=title:'stringwithoutspace' --param=title:"'string with spaces'" --p=amount:456 c:\Test.xslt

 

Click to expand/collapsestreaming

--streaming = true|false

Enables streaming validation. Default is true. In streaming mode, data stored in memory is minimized and processing is faster. The downside is that information that might be required subsequently—for example, a data model of the XML instance document—will not be available. In situations where this is significant, streaming mode will need to be turned off (by giving --streaming a value of false). When using the --script option with the valxml-withxsd command, disable streaming. Note that the --streaming option is ignored if --parallel-assessment is set to true.

Note:   Boolean option values are set to true if the option is specified without a value.

 

Click to expand/collapseinitial-template, template-entry-point

--initial-template, --template-entry-point = VALUE

Gives the name of a named template in the XSLT stylesheet that is the entry point of the transformation.

 

Click to expand/collapseinitial-mode, template-mode

--initial-mode, --template-mode = VALUE

Specifies the template mode to use for the transformation.

 

Click to expand/collapsexslt-version

--xslt-version = 1|1.0|2|2.0|3|3.0|3.1

Specifies whether the XSLT processor should use XSLT 1.0, XSLT 2.0, or XSLT 3.0. Default value is 3.

 

 


© 2019 Altova GmbH