Download Ektron CMS400.NET Developer Manual

Transcript
Customizing Validation
Icon
Name
richarea
text
textbox
Learn More about XPath
Xpath Operators
Content copied from www.w3schools.com/xpath.
Operator
Description
Example
Result
Numerical expressions perform arithmetic operations on numbers. XPath converts each
operand to a number before performing an arithmetic expression.
+
addition
6+4
10
-
subtraction
6-4
2
*
multiplication
6*4
24
div
division
8 div 4
2
mod
division
remainder
5 mod 2
1
Equality/ greater/ less than expressions test equality between two values
=
equals
price = 9.80
true (if price is 9.80)
!=
is not equal
price! = 9.80
false
<
less than
price < 9.80
false (if price is 9.80)
<=
less than or equal
to
price <= 9.80
true
Ektron CMS40 0.NET Deve lope r Re fe re nce Manua l, Version 7.6 Rev 8
1228