HTML
XML
DTD
CSS
Visual Filter
JavaScript
Java
ASP
SSI
.NET
XML Reference
>
Suggested Reading
XPath
tag/attrib/value
description
NodeSet
XML Query method
/
?
[
Axis
::
NodeTest
|
Shorthand
]
[
Predicate
]
*
[
/
...]?
Axis
child
descendant
parent
ancestor
following-sibling
preceding-sibling
following
preceding
attribute
namespace
self
decendent-or-self
ancestor-or-self
NodeTest
Literal
text()
*
comment()
processing-instruction()
node()
Shorthand
NodeTest
child::
NodeTest
@
NodeTest
attribute::
NodeTest
/
NodeTest
descendant::
NodeTest
.
self::*
..
parent::*
Predicate
Boolean
Expression Operator Expression
Number
Expression
NodeSet
Expression
NodeSet functions
last()
position()
count(
NodeSet
)
id(
object
)
namespace-uri(
NodeSet
)
String functions
string(
object
)
starts-with(
string
,
string
)
translate(
string
,
string
,
string
)
Number functions
n
number(
object
)
sum(
NodeSet
)
round(
n
)
Boolean functions
not(
boolean
)
true()
false()
Operator
=
Equal to
!=
Not equal to
<
Less than
<=
Less than or equal
>
Greater than
=>
Greater than or equal
and
Logical AND
or
Logical OR
+
Addition
-
Subtraction
*
Multiplication
div
Division
mod
Division remainder
|
Union