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.79Mb 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

Trouble in Transylvania by Barbara Wilson
Of All The Ways He Loves Me by Suzanne D. Williams
Secret Mayhem by London Casey, Karolyn James
Prince of Shadows by Tes Hilaire
Castle War! by John Dechancie
The Keep: The Watchers by Veronica Wolff
The Lady of Lyon House by Jennifer Wilde
A Dark Love by Margaret Carroll
Winter Is Past by Ruth Axtell Morren