2.84 SortExpression

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

The SortExpression element defines an expression used in sorting.

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

Parent elements

SortExpressions

Child elements

SortExpression.Direction

SortExpression.Value

Applies to RDL 2011/01

Child elements

SortExpression.NaturalSort

SortExpression.DeferredSort

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

 <xsd:complexType name="SortExpressionType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Value" type="xsd:string" minOccurs="1" />
     <xsd:element name="Direction" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Ascending" />
           <xsd:enumeration value="Descending" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <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 SortExpression 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="SortExpressionType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Value" type="xsd:string" minOccurs="1" />
     <xsd:element name="Direction" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Ascending" />
           <xsd:enumeration value="Descending" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>