Apply XSLT Templates to Actions
To apply a template to action output, add the following parameters to the action:
Template
|
Specify the name of the template that you want to use to format action output. |
OutputEncoding
|
Set this parameter to UTF8 . |
Example 1:
action=GetStatus&Template=QueryForm&OutputEncoding=UTF8
In this example, the QueryForm.tmpl
XSLT template is applied to a GetStatus
action.
Example 2:
action=GetStatus&Template=GetStatusForm&OutputEncoding=UTF8
In this example, the GetStatusForm.tmpl
XSLT template is applied to a GetStatus
action.
NOTE: If the action returns an error response, the IDOL component does not apply the XSLT template to the response.