# 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.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm