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
4.7Mb 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

Some Girls Do by Murphy, Clodagh
Doc: A Memoir by Dwight Gooden, Ellis Henican
The Private Club 2 by Cooper, J. S., Cooper, Helen
Swan Song by Crispin, Edmund
China Wife by Hedley Harrison
Waterproof by Garr, Amber
Time Patrol by Poul Anderson
Turn of the Tide by Skea, Margaret