2.7 Body

The Body element defines the structure and layout information for the Body of a report in RDL 2003/10, RDL 2005/01, and RDL 2008/01, or for a ReportSection in RDL 2010/01 and RDL 2016/01.

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

Parent elements

Report

ReportSection

Child elements

Body.Columns

Body.ColumnSpacing

Body.Style

Body.Height

Body.ReportItems

The following is the XML Schema definition of the Body element in RDL 2003/10 and RDL 2005/01.

 <xsd:complexType name="BodyType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="ReportItems" type="ReportItemsType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" />
     <xsd:element name="Columns" type="xsd:unsignedInt" minOccurs="0" />
     <xsd:element name="ColumnSpacing" type="SizeType" minOccurs="0" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <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 Body element in RDL 2008/01.

 <xsd:complexType name="BodyType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="ReportItems" type="ReportItemsType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="1" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <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 Body element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="BodyType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="ReportItems" type="ReportItemsType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="1" />
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>