Apply XSLT Templates to Actions
To apply a template to action output, add the following parameters to the action:
-
Template
. Set this parameter to the name of the template to use to format action output. -
OutputEncoding
. Set this parameter toUTF8
.
Examples
http://localhost:9000/action=GetVersion&Template=QueryForm&OutputEncoding=UTF8
This action applies the QueryForm.tmpl
XSLT template to a GetVersion
action, to provide an interface for queries.
http://localhost:9000/action=GetStatus&Template=GetStatusForm&OutputEncoding=UTF8
This action applies the GetStatusForm.tmpl
XSLT template to a GetStatus
action.