![]() |
|
xslt |
Longname: | x tensible s stylesheet l language t transformations | ![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Released: | 8.11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Created: | 8.11 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also: | getvar getvar expr show xpath xpointer XSLT in Arbortext APP Technote: 0080 |
Summary |
A keyword used with function variables: ^[funcname parameter(s)]. This syntax can be used anywhere that a regular 3B2 variable can be used: in show strings, in scripts, in expressions, etc. Function variables are a V8 feature that uniforms variable use and functions into a readable syntax. The XSLT function enables the ability to format XSLT inline. |
Example extract |
The following show string will display the current value of the th command (text height).
|
Syntax
|
xml_stream:s nodeid:t
)location_path:s xslt_stream:s param_stream:s
)
|
xml_stream:s |
Name of the XML stream to effect. |
nodeid:t |
the number or the location path of the nodes in the source XML to be transformed. |
location_path:s |
The number or the location path of the nodes in the source XML to be transformed. |
xslt_stream:s |
The stream containing the XSLT stylesheet. |
param_stream:s |
Stream containing XSL parameters. |
Run "xslt" on the node from "xml" stream. |
|
The input node is treated as if it occurs in a separate XML document by itself, along with its children. If a location path is specified and the path contains multiple nodes, then the XSLT occurs on each node individually, and the results are combined and output to the formatting together. Any errors occuring during the transformation are returned by the function variable instead of the output. |
Document created on 07-Jan-2005 (revision 1)