Name

xsd:ENTITY — Reference to an unparsed entity

Synopsis

<xsd:simpleType name="ENTITY” id="ENTITY">
 <xsd:restriction base="xsd:NCName"/>
</xsd:simpleType>

Derived from

xsd:NCName

Primary

xsd:string

Known subtypes

xsd:ENTITIES

Data parameters (facets)

enumeration, length, maxLength, minLength, pattern

Description

xsd:ENTITY is an entity reference. It is a nonqualified name (xsd:NCName) that has been declared as an unparsed entity in an internal or external DTD.

Restrictions

Unparsed entities are defined in XML 1.0 as a way to include non-XML content in an XML document, but most of the applications prefer to define links (such as those defined in (X)HTML to include images or other multimedia objects).

The W3C XML Schema doesn’t provide alternative ways to declare unparsed entities; a DTD is needed to do so.

Get RELAX NG 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.