Read XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition Online
Authors: Michael Kay
wrox:title | Matches the name that has local part![]() ![]() ![]() ![]() |
*:title | Matches any name whose local part is![]() ![]() |
Kind Tests
As we have seen, a
NodeTest
is either a
NameTest
or a
KindTest
.
NameTests
were described in the previous section; this section describes
KindTests
. A
KindTest
represents a constraint on the kind of nodes that are selected by an
AxisStep
.
Expression | Syntax |
KindTest | DocumentTest | ElementTest | AttributeTest | PITest | CommentTest | TextTest | AnyKindTest |
PITest | ![]() ![]() ![]() ![]() ![]() ![]() |
DocumentTest | ![]() ![]() ![]() ![]() ![]() ![]() |
CommentTest | ![]() ![]() ![]() ![]() ![]() ![]() |