Operador de Xpath
|
Uma express�o de XPath retorna n�-ajustou-se, uma corda, um booleano, ou um n�mero.
|
Operadores de XPath
|
Uma lista dos operadores dados abaixo: -
|
Operator |
Description |
Example |
Return value |
| |
Computes two node-sets |
//book | //cd |
Returns a node-set with all book and cd elements |
+ |
Addition |
6 + 4 |
10 |
- |
Subtraction |
6 - 4 |
2 |
* |
Multiplication |
6 * 4 |
24 |
div |
Division |
8 div 4 |
2 |
= |
Equal |
price=9.80 |
true if price is 9.80
false if price is 9.90 |
!= |
Not equal |
price!=9.80 |
true if price is 9.90
false if price is 9.80 |
< |
Less than |
price<9.80 |
true if price is 9.00
false if price is 9.80 |
<= |
Less than or equal to |
price<=9.80 |
true if price is 9.00
false if price is 9.90 |
> |
Greater than |
price>9.80 |
true if price is 9.90
false if price is 9.80 |
>= |
Greater than or equal to |
price>=9.80 |
true if price is 9.90
false if price is 9.70 |
or |
or |
price=9.80 or price=9.70 |
true if price is 9.80
false if price is 9.50 |
and |
and |
price>9.00 and price<9.90 |
true if price is 9.80
false if price is 8.50 |
mod |
Modulus (division remainder) |
5 mod 2 |
1 |
|
|
Keywords: Os operadores de XPath, valor do xpath de, operadores do xslt, operadores do xsl, operador do xsl, operador do xslt, operador do xpath, operadores do Perl, tutorial do xpath, operadores do Javascript, operadores de java, operadores do c#, xpath do xsl, Perl do xpath, refer�ncia do xpath, xpath do Javascript, xml do xpath, operadores do sql, sintaxe do xpath, xslt do xpath, exemplos do xpath, operadores do php dos operadores de c, operadores de c++, HTML do xpath, xpath funcionam, cdata do xpath, xpath w3schools, atributo do xpath, nome do xpath, atributos do xpath, exemplo do xpath, texto do xpath, sorte do xpath do xpath de java, tutorials do xpath, c# do xpath, namespace do xpath, xmlns do xpath, operadores booleanos, xpath original, posi��o do xpath, vari�vel do xpath, xpath w3c, contagem do xpath, xpath booleano, xpath sql, xpath se, php do xpath, xpath c++, xpath xalan, parser do xpath, express�o do xpath, fun��o do xpath, valor do xpath
|