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

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
12.2Mb size Format: txt, pdf, ePub

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

Fanfare by Ahdieh, Renee
Death Loves a Messy Desk by Mary Jane Maffini
Ehrengraf for the Defense by Lawrence Block
Writing Is My Drink by Theo Pauline Nestor
Artifacts by Pete Catalano
The Crash of Hennington by Patrick Ness
CaughtInTheTrap by Unknown
Coffin Knows the Answer by Gwendoline Butler
Abandoned but Not Alone by Theresa L. Henry