2.30 QueryTypeCastExpression

Applies to RDLRS 2013/01

The QueryTypeCastExpression element specifies a type of QueryExpression element whose data type is cast to the specified DataType. The QueryTypeCastExpression element is of type QueryExpression.

DataType: Specifies the data type to which the input can be casted. DataType is of type PrimitiveType. The DataType element MUST be specified and MUST NOT be specified more than once.

Input: Specifies the input QueryExpression. The Input element MUST be specified and MUST NOT be specified more than once.

The following is the XSD for the QueryTypeCastExpression element.

   <xs:complexType name="QueryTypeCastExpression">
     <xs:complexContent>
       <xs:extension base="rs2011:QueryExpression">
         <xs:sequence>
           <xs:element name="DataType" type="rs2011:PrimitiveType" />
           <xs:element name="Input" type="rs2011:QueryExpression" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>