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

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
5.12Mb size Format: txt, pdf, ePub
charProp
Category
|
IsBlock
Category
One of the two-character codes listed in the section
Character Categories
on page 924
IsBlock
Is
BlockName
where
BlockName
is the name of one of the Unicode code blocks listed in the section Character Blocks on page 922

A
character class escape
defines a set of characters, and matches any single character from this set.

There are four kinds of character class escapes:
single character escapes
,
multicharacter escapes
,
category escapes
, and
complementary escapes
.

The published XPath Functions and Operators Recommendation defines a back-reference as a fifth kind of character class escape. This is incorrect, because a back-reference matches a sequence of characters rather than a single character, which means that it makes no sense within square brackets. This is fixed by an erratum to the spec.

A
single character escape
(
SingleCharEsc
) consists of a backslash followed by one of the characters shown below. The single character escape matches a single character, as shown in the table.

Single character escape
Matches
\n
newline (x0A)
\r
carriage return (x0D)
\t
tab (x09)
\\
\|
\.
\?
\*
\+
\(

Other books

Payasadas by Kurt Vonnegut
The Ties That Bind by Erin Kelly
Alice After Hours by Galia Ryan
Long Division by Jane Berentson
Seven Days in the Art World by Sarah Thornton
Sword of the Raven by Duncan, Diana
Cuts Through Bone by Alaric Hunt
The Most Precious Thing by Rita Bradshaw