Xpath 简明教程

XPath - Operators

在本章中,我们将详细了解 XPath 运算符和函数,包括常用的 XPath defineshandles 。XPath 定义了对节点、字符串、数字和布尔类型的运算符和函数。

In this chapter, we’ll see XPath operators and functions in details covering commonly used XPath defines and handles. XPath defines Operators and functions on Nodes, String, Number and Boolean types.

以下是我们将要讨论的列表。

Following is the list we are going to discuss about.

S.No.

Operators/Functions & Description

1

Comparision OperatorsComparision operators to compare values.

2

Boolean OperatorsBoolean operators to check 'and', 'or' & 'not' functionalities.

3

Number Functions/OperatorsOperators/Functions on numbers.

4

String FunctionsVarious string functions.

5

Node Functions/OperatorsVarious functions and operators acting on nodes.