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

Man Who Was Late by Louis Begley
Letters to Penthouse XXXVI by Penthouse International
Pyramid Quest by Robert M. Schoch
London Fields by Martin Amis
Dead and Kicking by Lisa Emme
The Truth of the Matter by Robb Forman Dew
Death Thieves by Julie Wright
Gossamer Axe by Baudino, Gael
The Kallanon Scales by Elaina J Davidson
Destined Magic by Caryn Moya Block