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

BOOK: XSLT 2.0 and XPath 2.0 Programmer's Reference, 4th Edition
5.81Mb size Format: txt, pdf, ePub

Character Ranges

A
character range
(which is always part of a
character group
) defines a set of permitted characters that contains either a single character or a range of characters occupying adjacent Unicode codepoints.

If you are comparing these rules with the ones in XML Schema Part 2, be sure to look at the second edition; the original XML Schema Recommendation got this syntax badly wrong. In fact, there are still a couple of errors in the second edition.

Construct
Syntax
charRange
codepointRange | XmlCharIncDash
codepointRange
charOrEsc
-
charOrEsc
charOrEsc
XmlChar | SingleCharEsc
XmlChar
Any XML character except
[
]
\
-
XmlCharIncDash
Any XML character except
[
]
\

Other books

Burning Tower by Larry Niven
The Thousand Names by Wexler, Django
Blood Law by Jeannie Holmes
The Harvester by Sean A. Murtaugh
London Transports by Maeve Binchy
The Forbidden Lady by Kerrelyn Sparks
A Journal of Sin by Darryl Donaghue
Rise (Roam Series, Book Three) by Stedronsky, Kimberly
Fever (Flu) by Wayne Simmons
None Left Behind by Charles W. Sasser