filter Schema
Sort Element
filter Schema : Sort Element

Glossary Item Box

Description

The fields to sort by.
Namespace (none)

Diagram

Field Element Sequence Sort Element

Overview

Sort
The fields to sort by.
Sequence
Field 0..∞
A sort field.
Direction required Restriction of xs:string
The sort direction.
Name required xs:string
The sort field name.
Order optional xs:integer
The sort order.

Source

<xs:element name="Sort" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>
                The fields to sort by.
            </xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Field">
        <xs:annotation>
          <xs:documentation>
                            A sort field.
                        </xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:attribute name="Direction" use="required">
            <xs:annotation>
              <xs:documentation>
                                    The sort direction.
                                </xs:documentation>
            </xs:annotation>
            <xs:simpleType>
              <xs:restriction base="xs:string">
                <xs:enumeration value="ASC" />
                <xs:enumeration value="Ascending" />
                <xs:enumeration value="DESC" />
                <xs:enumeration value="Descending" />
              </xs:restriction>
            </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="Name" use="required" type="xs:string">
            <xs:annotation>
              <xs:documentation>
                                    The sort field name.
                                </xs:documentation>
            </xs:annotation>
          </xs:attribute>
          <xs:attribute name="Order" type="xs:integer">
            <xs:annotation>
              <xs:documentation>
                                    The sort order.
                                </xs:documentation>
            </xs:annotation>
          </xs:attribute>
        </xs:complexType>
      </xs:element>
    </xs:sequence>
  </xs:complexType>
</xs:element>

See Also