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
12.24Mb 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
12.24Mb size Format: txt, pdf, ePub
ads

Other books

The Orphan Sky by Ella Leya
Bounders by Monica Tesler
The Multiple Man by Ben Bova
Road to Berry Edge, The by Gill, Elizabeth
The Map Thief by Michael Blanding
The Silver Door by Emily Rodda