XML technologies / XML Schema / Data type reference / xs:ENTITIES

(Excerpt from “XML Schema” by Eric van der Vlist)

Whitespace-separated list of unparsed entity references

Derived from: xs:ENTITY

Primitive type: none

Known subtypes: none

Facets: xs:enumeration, xs:length, xs:maxLength, xs:minLength, xs:whiteSpace

Definition

<xs:simpleType name="ENTITIES" id="ENTITIES">
    <xs:restriction>
        <xs:simpleType>
            <xs:list>
                <xs:simpleType>
                    <xs:restriction base="xs:ENTITY"/>
                </xs:simpleType>
            </xs:list>
        </xs:simpleType>
        <xs:minLength value="1"/>
    </xs:restriction>
</xs:simpleType>

Description

xs:ENTITIES is derived as a list of xs:ENTITY. It represents a list of unparsed entity references. Each component is an unqualified name (xs:NCName) that must be 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 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.

   

 

 

 

back to top