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
2.78Mb size Format: txt, pdf, ePub
ads
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
(
)
BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
2.78Mb size Format: txt, pdf, ePub
ads

Other books

The Tutor by Bonnie
The Devil's Demeanor by Hart, Jerry
Searching for Grace Kelly by Michael Callahan
The Ten-pound Ticket by Amanda Prowse
Chasing Charity by Marcia Gruver
Cinnamon Kiss by Walter Mosley
Flecks of Gold by Buck, Alicia