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

The Isis Knot by Hanna Martine
Beautiful Sorrows by Mercedes M. Yardley
A Vampire's Saving Embrace by Kuncytes, Darlene
Samantha James by The Seduction of an Unknown Lady
Garras y colmillos by Jo Walton
Alaska Heart by Christine DePetrillo