2.319 Variables

Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01

The Variables element specifies a series of named expressions to be evaluated within a group or a report. This element is optional.

The following are the parent and child elements of the Variables element.

Parent elements

Group

Report

Child elements

Variables.Variable

The following is the XML Schema definition of the Variables element in RDL 2008/01.

 <xsd:complexType name="VariablesType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Variable" type="VariableType" minOccurs="1" 
                  maxOccurs="unbounded" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the Variables element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="VariablesType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Variable" type="VariableType" minOccurs="1" 
                  maxOccurs="unbounded" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>