Wednesday, July 23, 2008

To check type of variable in XQuery

XQuery has a very easy way to check type of variable same as Java.

Use
$variable instance of 'type'
where 'type' can be
xs:string
xs:date
or any type you want to check.

No comments: