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
6.34Mb size Format: txt, pdf, ePub
ads

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
BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
6.34Mb size Format: txt, pdf, ePub
ads

Other books

To Crave a Blood Moon by Sharie Kohler
Generosity: An Enhancement by Richard Powers
A Noble Radiance by Donna Leon
Defender by Catherine Mann
Choke by Diana López
Keepsake by Kelly, Sheelagh
Hopes by Linda Chapman