provider
File Provider — Assigns the contents of files to variables<provider class="xms.template.provider.FileProvider" … > child tags </provider>
Table 43. Attributes for provider tag (for xms.template.provider.FileProvider)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| name | Sets a name for this provider for reference | String any character combination | File Provider | no |
<file … />
Table 44. Attributes for file tag (for xms.template.provider.FileProvider)
| Name | Description | Type | Default Value | Required |
|---|---|---|---|---|
| charset | The character set encoding of the file | Template Freemarker template string | iso-8859-1 | no |
| name | The name of the variable to assign the contents of the file to | String any character combination | none | yes |
| path | The path to the file | Template Freemarker template string | none | yes |
| pollChanges | Enables polling for changes in the file | boolean true or false | false | no |
| pollInterval | The interval to poll for changes in the file if polling is enabled | int any integer | none | no |