# file Element

Identifies a file as part of a Microsoft Office InfoPath 2003 form.

## Type

    xsd:complexType

## Structure

Name | Description
--- | ---
name | (Required attribute) Specifies the name of the file.
fileProperties | (Optional element) Defines the properties of a file.

## Remarks

The file element is an optional element of the files element.

## Example

The following is an example of the file element:

    <xsf:package>
       <xsf:files>
          <xsf:file name="view_1.xsl">
             <xsf:fileProperties>
                <xsf:property
                   name="lang"
                   type="string"
                   value="1033"/>
             </xsf:fileProperties>
          </xsf:file>
       </xsf:files>
    </xsf:package>

©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