Skip to main content

XPath Comparison Operators

XPath Comparison Operators

A list of comparison operators used in XPath:

OperatorDescription
=It specifies equals to
!=It specifies not equals to
<It specifies less than
>It specifies greater than
<=It specifies less than or equals to
>=It specifies greater than or equals to