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

A Bone to Pick by Charlaine Harris
A New World: Reckoning by John O'Brien
Troubleshooter by Gregg Hurwitz
Windows 10 Revealed by Kinnary Jangla
Then Came Heaven by LaVyrle Spencer
Man Shy by Catherine Mulvany
Riley's Journey by Parker, P.L., Edwards, Sandra
Before The Storm by Kels Barnholdt
Mary Rose by David Loades