XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition (457 page)

if ($p castable as xs:date) then xs:date($p) else ()

The syntax for the
cast
as
and
castable
as
operators is shown below. Both operators are written as compound tokens.

Expression
Syntax
CastableExpr
CastExpr (
castable
as
SingleType)?
CastExpr
UnaryExpr (
cast
as
SingleType)?
SingleType
AtomicType
?
?
AtomicType
QName

Other books

Jesse's Girl (Hundred Oaks #6) by Miranda Kenneally
World Enough and Time by Nicholas Murray
Bratfest at Tiffany's by Lisi Harrison
Ward Z: Revelation by Cross, Amy
The Clown by Heinrich Boll
And Then He Kissed Her by Laura Lee Guhrke