XML technologies / XML Schema / Data type reference / xs:ENTITY
(Excerpt from “XML Schema” by Eric van der Vlist)
Reference to an unparsed entity
Derived from: xs:NCName
Primitive type: xs:string
Known subtypes: xs:ENTITIES
Facets: xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:pattern, xs:whiteSpace
Definition
<xs:simpleType name="ENTITY" id="ENTITY">
<xs:restriction base="xs:NCName"/>
</xs:simpleType>Description
xs:ENTITY is an entity reference, an unqualified name (xs:NCName) declared as an unparsed entity in an internal or external DTD.
Restrictions
Unparsed entities were defined in XML 1.0 as a way to include non-XML content in XML documents. Most applications, however, prefer links similar to those in (X)HTML for embedding images or multimedia objects.
W3C XML Schema provides no alternative way to declare unparsed entities; a DTD is required.
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