2.2.1.2.110 useTransform

The useTransform element specifies the XSLT file, as defined by section 2.8, and the restrictions that MUST be used to upgrade the form.

Parent Elements

documentVersionUpgrade

Attributes:

maxVersionToUpgrade: This attribute specifies the inclusive value for the maximum form template version, specified by the solutionVersion attribute of the xDocumentClass element, as specified in section 2.2.1.2.1, that MUST be upgraded. If this attribute is not present, the maximum version boundary for upgrading MUST be ignored.

minVersionToUpgrade: This attribute specifies the inclusive value for the minimum form template version, specified by the solutionVersion attribute of the xDocumentClass element, which MUST be upgraded. If this attribute is not present, the minimum version boundary for upgrading is not checked.

transform: This attribute specifies the name of the XSLT file used to upgrade the form. The specified file MUST exist in the form template or the value MUST be an empty string.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="useTransform">
   <xsd:complexType>
     <xsd:attribute name="transform" use="required">
       <xsd:simpleType>
         <xsd:union memberTypes="xsf:xdFileName xsf:xdEmptyString"/>
       </xsd:simpleType>
     </xsd:attribute>
     <xsd:attribute name="minVersionToUpgrade" type="xsf:xdSolutionVersion" use="required"/>
     <xsd:attribute name="maxVersionToUpgrade" type="xsf:xdSolutionVersion"/>
   </xsd:complexType>
 </xsd:element>