File header
The file begins with a standard XML header, consisting of the XML declaration, and the root <sessionconfig> element with these attributes:
- version—Required. Set this attribute to 1.0.0.
-
!DOCTYPE—Required. Identifies the Document Type Definition (DTD).
- xml:base—Optional. Use this attribute to define a base path for resolving any relative paths in the XML file. (You can override the default by using xml:base inside other elements at lower levels of the document.) The value must be a directory path, or one of the environment variables below:
- The default xml:base is the URL for the current page.
- On Linux, any output directory must have write access for user or group nuance (Voice Platform runs under these.)
- ${SWISRSDK} environment variable for the Recognizer location. (On Linux, Voice Platform cannot write to this location.)
- ${APP_PROVISION_DIR} environment variable for the location of adapted acoustic models. It can be a path or a link to a shared network drive.
- ${APP_DATA_DIR} environment variable internally set to ${NUANCE_DATA_DIR}/company/. This location has write access by user and group nuance.
The <sessionconfig> element requires these children:
- <sessionparameters>—Delimits the session parameters section
- <resourcehints>—Delimits the session resources section