2.85 Grouping

Applies to RDL 2003/10 and RDL 2005/01

The Grouping element specifies the expressions by which to categorize data in the parent element (see the following Parent elements table) and the properties of the resulting data categorization.

If an element of type Grouping does not have exactly one child GroupExpressions.GroupExpression element in the Grouping.GroupExpressions collection, the Grouping.Parent element MUST NOT be specified.

The following are the parent elements, attributes, and child elements of the Grouping element.

Parent elements

DataGrouping

DynamicColumns

DynamicRows

List

TableGroup

Details

DynamicCategories

DynamicSeries

Attributes

Grouping.Name

Child elements

Grouping.CustomProperties

Grouping.DataCollectionName

Grouping.DataElementName

Grouping.DataElementOutput

Grouping.Filters

Grouping.GroupExpressions

Grouping.Label

Grouping.PageBreakAtEnd

Grouping.PageBreakAtStart

Grouping.Parent

The following is the XML Schema definition of the Grouping element.          

 <xsd:complexType name="GroupingType" >
    <xsd:choice minOccurs="1" maxOccurs="unbounded">
      <xsd:element name="Label" type="xsd:string" minOccurs="0" />
      <xsd:element name="GroupExpressions" type="GroupExpressionsType" />
      <xsd:element name="PageBreakAtStart" type="xsd:boolean" minOccurs="0" />
      <xsd:element name="PageBreakAtEnd" type="xsd:boolean" minOccurs="0" />
      <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
      <xsd:element name="Filters" type="FiltersType" minOccurs="0" />
      <xsd:element name="Parent" type="xsd:string" minOccurs="0" />
      <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
      <xsd:element name="DataCollectionName" type="xsd:string" minOccurs="0" />
      <xsd:element name="DataElementOutput" minOccurs="0">
            <xsd:simpleType>
                 <xsd:restriction base="xsd:string">
                      <xsd:enumeration value="Output" />
                      <xsd:enumeration value="NoOutput" />
                      <xsd:enumeration value="ContentsOnly" />
                 </xsd:restriction>
            </xsd:simpleType>
      </xsd:element>
      <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>