documentVersionUpgrade Element

Microsoft Office InfoPath

Show All Show All

documentVersionUpgrade Element

Defines how forms created with an older version of the form template can be upgraded to the latest version of the form template.

Type

      xsd:complexType
    

Structure

Name Description
useScriptHandler (Optional element) Specifies that the upgrade will be handled using scripting code.
useTransform (Optional element) Specifies that the upgrade will be handled by an XSL Transformation (XSLT) supplied by the newer version of the form template.

Remarks

The documentVersionUpgrade element is an optional element of the xDocumentClass element.

Example

The following is an example of the documentVersionUpgrade element:

    <xsf:documentVersionUpgrade>
   <xsf:useTransform
      transform="upgrade.xsl"
      minVersionToUpgrade="0.0.0.0"
      maxVersionToUpgrade="1.0.0.5"/>
</xsf:documentVersionUpgrade>