BOUND

A BOUND element specifies the boundary constraints for a range of dimension values. The attributes of a BOUND element provide data type, value, and inclusion rules for the range value. Use BOUND as a sub-element of LBOUND and UBOUND.

DTD

<!ELEMENT BOUND EMPTY>
<!ATTLIST BOUND
   TYPE        (STRING | INTEGER | FLOAT | CURRENCY | DATE) #REQUIRED
   VALUE       CDATA                   #REQUIRED
   CLOSURE     (OPEN | CLOSED)         #REQUIRED
>

Attributes

The following sections describe the BOUND element's attributes.

TYPE

The data type of the BOUND value. Must be set equal to one of the following: STRING, INTEGER, FLOAT, or CURRENCY. ( DATE is not supported. )

VALUE

The desired value for the boundary. This value must correspond to the data type specified in TYPE.

CLOSURE

Closure is a mathematical term that specifies whether the VALUE is included or excluded from the boundary range. CLOSED means the value is included in the range. OPEN means numbers up to or down to the VALUE are included, but the VALUE itself is not included. Must be set equal to OPEN or CLOSED.

Sub-elements

The BOUND element has no sub-elements.

Example

This example shows two BOUND elements that define a range of 0 to 10 for the dimension value 0 to 10. The values 0 and 10 are included in the range.

<DIMENSION_NODE>
   <DVAL TYPE="RANGE">
      <DVAL_ID ID="21"/>
      <SYN SEARCH="FALSE" DISPLAY="TRUE" CLASSIFY="FALSE">0 to 10</SYN>
      <LBOUND>
         <BOUND TYPE="INTEGER" VALUE="0" CLOSURE="CLOSED"/>
      </LBOUND>
      <UBOUND>
         <BOUND TYPE="INTEGER" VALUE="10" CLOSURE="CLOSED"/>
      </UBOUND>
   </DVAL>
</DIMENSION_NODE>