property Element

Microsoft Office InfoPath

Show All Show All

property Element

Defines one specific property for the specified file.

Type

      xsd:complexType
    

Structure

Name Description
name (Required attribute) Defines the name of the property.
type(Required attribute) Defines the type of the property.
value (Required attribute) For simple properties, specifies a value for the property. For complex and multi-valued properties, the specified value is defined as a container XML tree using an open content model.

Remarks

The property element is an optional element of the fileProperties element.

Example

The following is an example of the property 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>