Show All

# minVersionToUpgrade Attribute

Inclusive value for the oldest form that can be upgraded.

## Type

    xsf:xdSolutionVersion

## Remarks

The minVersionToUpgrade attribute is a required attribute of the useTransform element.

The minVersionToUpgrade attribute is used to prevent running the XSL Transformation (XSLT) on forms so different from the current one that the XSLT causes risk of data loss.

## Example

The following example shows the minVersionToUpgrade attribute as it is used in the useTransform 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