Export (0) Print
Expand All
Expand Minimize

value Attribute (property Element)

Office 2007

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.

Type

xsd:string

Remarks

The value attribute is a required attribute of the property element. The .cab files that are included in an InfoPath form package are listed in the package and files elements of an .xsf file. A fileType value of "ActiveX-CAB" identifies that the file is a .cab file added by the designer and indicates that the file should be managed by the ActiveX support features of the designer.

Example

The following are examples of the value attribute as it is used in the property element:

<xsf:files>
      <xsf:file name="example.cab">
         <xsf:fileProperties>
            <xsf:property name="fileType" type="string" value="ActiveX-CAB" />
            <xsf:property name="timestamp" type="string" value="xyz" />
         </xsf:fileProperties>
      </xsf:file>
   </xsf:files>
</xsf:package>
<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>


Community Additions

ADD
Show:
© 2014 Microsoft