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
9.85Mb 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

The Body in the Bouillon by Katherine Hall Page
BATON ROUGE by Carla Cassidy - Scene of the Crime 09 - BATON ROUGE
Fated by Angela Skaggs
Bonjour Tristesse by Francoise Sagan
House Rules by G.C. Scott
Baldur's Gate by Athans, Philip
The Debt 3 by Kelly Favor