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>

©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