Show All

# About form architecture

Microsoft Office InfoPath 2003 forms are composed of several files and components that are combined to provide specific functionality for a particular end user scenario or business need. InfoPath forms can vary in complexity depending on the type of need that they address.

An InfoPath form is essentially a type of application that creates a specified class of XML documents, defines their layout and editing behavior, enforces their data consistency, and provides the routing information that indicates where they should be stored.

It is important to understand that InfoPath forms are composed of several different files of many different types; these files are collectively known as the form files. Usually, an InfoPath form is composed of the following types of files.

Name | Extension | Description
--- | --- | ---
Form definition | .xsf | An InfoPath-generated file that contains information about all of the other files and components used in a form. This file serves as the manifest for the form.
XML Schema | .xsd | The XML Schema files that are used to constrain and validate a form's underlying XML document files.
View | .xsl | The presentation logic files that are used to present, view, and transform the data contained in a form's underlying XML document files.
XML template | .xml | The .xml file that contains the default data that is displayed in a view when a new form is created.
XML component template | .xct | The .xml file representations of the editing controls that are used when creating and filling out a form.
Presentation | .htm, .gif, .bmp, and others | The files used in conjunction with the view files to create a custom user interface.
Business logic | .js, .vbs | The script files (Microsoft JScript and Microsoft VBScript) that contain programming code used to implement specific editing behavior, data validation, event handlers, control of data flow, and other custom business logic.
Binary | .dll, .exe | The custom Component Object Model (COM) components that provide additional business logic.
Form template | .xsn | The compressed file format (.cab) that packages all the form files into one file.

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp