How to reference a dynamically generated XSLT file name in a Transform XML activity.
book
Article ID: KB0093825
calendar_today
Updated On:
Products
Versions
TIBCO ActiveMatrix BusinessWorks
-
Not Applicable
-
Description
Description: The Transform XML activity configuration tab allows a reference to a
SharedResource Stylesheet XSLT file or alternately, a global variable
containing the Stylesheet name. This configuration can be overridden within the input
tab by identifying the Stylesheet XSLT in an optional input field. However this input field only allows for the string text of the
content of the Stylesheet rather than the file name. How can we use this
field to reference the actual XSLT file name in the same manner that we
can reference the file name under the Configuration tab?
Issue/Introduction
How to reference a dynamically generated XSLT file name in a Transform XML activity.
Resolution
The "stylesheet" input for "Transform XML"
activity requires the contents of the XSLT file as opposed to the
filename. You can use the following in the stylesheet input to pass the
contents based on the filename.