Name
xs:string
Synopsis
This is the most general simple type. Elements and
attributes with type xs:string
can contain any sequence of characters allowed in XML, although
depending on context, certain characters such as <
, &
, and " may have to be escaped with
character or entity references in the usual way.
Constraining facets that apply to xs:string
are length
, minLength
, maxLength
, pattern
, enumeration
, and whiteSpace
.
Get XML in a Nutshell, 3rd Edition 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.