XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition (398 page)

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
10.24Mb size Format: txt, pdf, ePub
wrox:title
Matches the name that has local part
title
and whose namespace is the namespace currently bound to the prefix
wrox
.
*:title
Matches any name whose local part is
title
, whether or not it is in a namespace.

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
processing-instruction
(
(NCName | StringLiteral)?
)
DocumentTest
document-node
(
ElementTest?
)
CommentTest
comment
(
)

Other books

Left Behind by Jayton Young
Heat and Light by Jennifer Haigh
Ride the Rainbow Home by Susan Aylworth
Bad Things by Michael Marshall
Dead Unlucky by Andrew Derham
Out of Their Minds by Clifford D. Simak
Poison by Jon Wells