Open topic with navigation
You can transform the action responses returned by Enovia Connector using XSL templates. You must write your own XSL templates and save them with either an
.tmpl file extension.
After creating the templates, you must configure Enovia Connector to use them, and then apply them to the relevant actions.
To enable XSL transformations
autnxsltlibrary is located in the same directory as your configuration file. If the library is not included in your installation, you can obtain it from HPE Support.
[Server] section, ensure that the
XSLTemplates parameter is set to
XSLTemplates is set to
true and the
autnxslt library is not present in the same directory as the configuration file, the server will not start.
[Paths]section, set the
TemplateDirectoryparameter to the path to the directory that contains your XSL templates. The default directory is
To apply a template to action output
Add the following parameters to the action:
||The name of the template to use to transform the action output. Exclude the folder path and file extension.|
||(Optional) If you modified the template after the server started, set this parameter to
action=QueueInfo&QueueName=Fetch &QueueAction=GetStatus &Token=... &Template=myTemplate
In this example, Enovia Connector applies the XSL template
myTemplate to the response from a
If the action returns an error response, Enovia Connector does not apply the XSL template.
Enovia Connector includes the following sample XSL templates, in the
||Transforms the output from the