2.328 Field

The Field element specifies information about a field. This element MUST specify either the DataField or Value child elements.

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

Parent elements

Fields

Attributes

Field.Name

Child elements

Field.DataField

Field.Value

Applies to RDL 2011/01

Child elements

Field.AggregateIndicatorField

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

 <xsd:complexType name="FieldType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="DataField" type="xsd:string" minOccurs="0" />
     <xsd:element name="Value" type="xsd:string" minOccurs="0" />
     <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 Field element in RDL 2008/01.

 <xsd:complexType name="FieldType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="DataField" type="xsd:string" minOccurs="0" />
     <xsd:element name="Value" type="StringWithDataTypeAttribute" minOccurs="0" />
     <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 Field element in RDL 2010/01 and RDL 2016/01.

Note  The following XSD represents RDL macro-versioned schemas only. Possible additions, identified earlier in this section, to base schema RDL 2010/01 from micro-versioned schemas RDL 2011/01, RDL 2012/01, and RDL 2013/01 are provided in sections 5.5, 5.6, and 5.7, respectively. For more information about macro- and micro-versioned schemas, see section 2.1.

 <xsd:complexType name="FieldType">
   <xsd:choice minOccurs="0" maxOccurs="unbounded">
     <xsd:element name="DataField" type="xsd:string" minOccurs="0" />
     <xsd:element name="Value" type="StringWithDataTypeAttribute" minOccurs="0" />
     <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>