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

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
13.86Mb size Format: txt, pdf, ePub
ads
When the operands of an arithmetic operator such as
+
or
*
have types for which this operator is not defined, a type error is reported.
When the operands of an arithmetic operator such as
+
or
*
have types for which this operator is not defined, the supplied operands are converted to numbers using the
number()
function.
Arithmetic may be carried out in integer, decimal, float or double depending on the operands.
Arithmetic is always carried out in double-precision floating point.
In an expression such as
A and B
or
A or B
, the operands may be evaluated in either order.
In an expression such as
A and B
or
A or B
, the first operand is evaluated first, and the other operand is not evaluated if not needed.
BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
13.86Mb size Format: txt, pdf, ePub
ads

Other books

Surrender to the Devil by Lorraine Heath
WIDOW by MOSIMAN, BILLIE SUE
Meant for Her by Amy Gamet
Pretty and Pregnant by Johns, Madison
Untaming Lily Wilde by Olivia Fox
A Mother's Sacrifice by Catherine King
I Can Make You Hot! by Kelly Killoren Bensimon
Black River by Tom Lowe