bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

Building Queries and Data Views

 Previous Next Contents Index View as PDF  

Type Casting to a Non-Numeric Target

The following table shows whether Liquid Data transforms a source node data type to the non-numeric data type of the target node.

Target:
xs:byte

Target:
xs:boolean

Target:
xs:date

Target:
xs:time

Target:
xs:dateTime

Target:
xsext:anyValue
xsext:anyType
xsext:item

xs:byte

Y

Y

N

N

N

N

xs:short

Y

Y

N

N

N

N

xs:int

Y

Y

N

N

N

N

xs:long

Y

Y

N

N

N

N

xs:integer

Y

Y

N

N

N

N

xs:decimal

Y

Y

N

N

N

N

xs:float

Y

Y

N

N

N

N

xs:double

Y

Y

N

N

N

N

xs:string

N

Y

Y

Y

Y

N

xs:boolean

Y

N

N

N

N

N

xs:date

Y

N

N

N

N

N

xs:time

Y

N

N

N

N

N

xs:dateTime

Y

N

Y (see note)

Y (see note)

N

N

xsext:anyValue
xsext:anyType
xsext:item

Y

Y

Y

Y

Y

N


 

Note: The type cast from xs:dateTime to xs:date and xs:time uses xfext:date-from-dateTime() and xfext:time-from-dateTime.

 

Back to Top Previous Next