2.22 QueryLiteralExpression

The QueryLiteralExpression element specifies a typed constant value. The QueryLiteralExpression element is of type QueryExpression.

Value: Specifies the value of the constant. The Value element MUST be specified and MUST NOT be specified more than once. In Report State documents, use of the Value element MUST specify one of the following types by using a type attribute as defined in [XMLSCHEMA1/2] section 2.6.1.

Value

Boolean

Byte

DateTime

Decimal

Double

Guid

Single

SByte

Int16

Int32

Int64

String

Time

The following is the XSD for the QueryLiteralExpression element.          

  <xs:complexType name="QueryLiteralExpression">
     <xs:complexContent>
       <xs:extension base="QueryExpression">
         <xs:sequence>
           <xs:element name="Value" />
         </xs:sequence>
       </xs:extension>
     </xs:complexContent>
   </xs:complexType>