xs:NCName

The letters NC in NCName stand for noncolonized. The type xs:NCName can be used to represent the local part of names, or even prefixes. An xs:NCName value must start with a letter and underscore (_), and may contain only letters, digits, underscores, hyphens, and periods.

Because xs:NCName is ultimately derived from xs:string, xs:NCName values can be compared and used like strings.

Get XQuery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.