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

Time Snatchers by Richard Ungar
Toxic Bachelors by Danielle Steel
Seducing Steve by Maggie Wells
Hunting for Hidden Gold by Franklin W. Dixon
The Lover (Blazing Hearts) by Kovit, Kennedy
Better Off Dead by Sloan, Eva