name Attribute (file Element)

Microsoft Office InfoPath

Show All Show All

name Attribute (file Element)

Specifies the name of the file.

Type

      xsf:xdFileName
    

Remarks

The name attribute is a required attribute of the file element.

This must be a relative URL from the URL of the form definition (.xsf) file. All files specified here are inside the form template, so absolute URLs are not supported.

Example

The following is an example of the name attribute as it is used in 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>