XML technologies / XML Schema / Using predefined simple data types / List types
(Excerpt from “XML Schema” by Eric van der Vlist)
These data types are lists of entries separated by whitespace. The entries’ type, called the item type or “item type”, is defined during derivation, discussed in the next chapter. List data types can derive from any simple type. Three predefined data types are lists (xs:NMTOKENS, xs:IDREFS and xs:ENTITIES). All list data types require entries separated by one or more whitespace characters.
xs:NMTOKENS
This is a whitespace-separated list of xs:NMTOKEN. Each entry must belong to the lexical space of xs:NMTOKEN.
xs:IDREFS
This is a whitespace-separated list of xs:IDREF. Each entry must belong to the lexical space of xs:IDREF and reference an existing xs:ID in the same document.
xs:ENTITIES
This is a whitespace-separated list of xs:ENTITY. Each entry must belong to the lexical space of xs:ENTITY and match an unparsed entity defined in a DTD.
Copyright © 2003 O'Reilly Verlag GmbH & Co. KG
You may print the online version for your private use.
Otherwise, this chapter from “XML Schema” is subject to the same conditions as the bound edition. The work, including all its parts, is protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
O’Reilly Verlag GmbH & Co. KG, Balthasarstraße 81, 50670 Köln, kommentar(at)oreilly.de