2.2.1.2.127 calculations

The calculations element specifies definitions for the calculations performed in the form and how blank values are handled.

Parent Elements

xDocumentClass

Child Elements

calculatedField

Attributes:

treatBlankValueAsZero: This attribute specifies whether an empty string is equivalent to the integer zero (0). If this attribute is not present, its value MUST be interpreted as "yes".

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

 <xsd:element name="calculations">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="xsf:calculatedField" minOccurs="0" maxOccurs="unbounded"/>
     </xsd:sequence>
     <xsd:attribute name="treatBlankValueAsZero" type="xsf:xdYesNo" use="optional"/>
   </xsd:complexType>
 </xsd:element>