1.3 Structure Overview (Synopsis)

A form template (.xsn) file is a cabinet (.cab) file, as described in [MC-MCF], which contains files used by a form server to render and edit new or existing form files in a Web browser. Form files are used to store the data of a form that has been filled out. For example, an expense report form template could define the data that expense report forms need to contain, such as total amount and date filed, which data is optional, and how the data fields are be presented to the person filling out the report.

A form server understanding the format can parse and retrieve the files inside the form template (.xsn) file. The form server can then use the information to render and edit a new or existing form file in a Web browser.

In other words, a form server needs to understand the two essential components of a form:

  • The form template (.xsn) file used to render and edit the data.

  • The form file used to store the data.

Details on how form files are associated with a form template are described in [MS-IPFFX].

Certain files need to be included within the form template (.xsn) file for a form server to correctly open or create a form file. Other files are included only in certain scenarios.

The following figure illustrates a typical form template (.xsn) file.

A typical form template (.xsn) file

Figure 1: A typical form template (.xsn) file

The following sections describe the files that can be found in a form template (.xsn) file and how they are used to render a form (1).

The form template (.xsn) file is specified in section 2.1. Examples are provided in section 3.1.