2.320 Variable
Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01
The Variable element specifies a named expression to be evaluated and used within a group or report. This element MUST be specified at least once within a Variables collection.
The following are the parent elements, attributes, and child elements of the Variable element.
Parent elements |
---|
Variables |
Attributes |
---|
The following are the child elements of the Variable element in RDL 2008/01, RDL 2010/01, and RDL 2016/01.
Child elements |
---|
The following are the child elements of the Variable element in RDL 2010/01 and RDL 2016/01.
Child elements |
---|
The following is the XML Schema definition of the Variable element in RDL 2008/01.
-
<xsd:complexType name="VariableType"> <xsd:choice minOccurs="1" maxOccurs="unbounded"> <xsd:element name="Value" type="StringWithDataTypeAttribute" minOccurs="1" maxOccurs="1" /> <xsd:any namespace="##other" processContents="skip" /> </xsd:choice> <xsd:attribute name="Name" type="xsd:normalizedString" use="required" /> <xsd:anyAttribute namespace="##other" processContents="skip" /> </xsd:complexType>
The following is the XML Schema definition of the Variable element in RDL 2010/01 and RDL 2016/01.
-
<xsd:complexType name="VariableType"> <xsd:choice minOccurs="1" maxOccurs="unbounded"> <xsd:element name="Value" type="StringWithDataTypeAttribute" minOccurs="1" maxOccurs="1" /> <xsd:element name="Writable" type="xsd:boolean" minOccurs="0" maxOccurs="1" /> <xsd:any namespace="##other" processContents="lax" /> </xsd:choice> <xsd:attribute name="Name" type="xsd:normalizedString" use="required" /> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType>