<!– Used for the type of an attribute value that is a URI reference.->
<!ENTITY % URI «CDATA»>
<!– Used for the type of an attribute value that is a pattern.->
<!ENTITY % pattern «CDATA»>
<!– Used for the type of an attribute value that is an attribute value template.->
<!ENTITY % avt «CDATA»>
<!– Used for the type of an attribute value that is a QName; the prefix gets expanded by the XSLT processor. ->
<!ENTITY % qname «NMTOKEN»>
<!– Like qname but a whitespace-separated list of QNames. ->
<!ENTITY % qnames «NMTOKENS»>
<!– Used for the type of an attribute value that is an expression.->
<!ENTITY % expr «CDATA»>
<!– Used for the type of an attribute value that consists of a single character.->
<!ENTITY % char «CDATA»>
<!– Used for the type of an attribute value that is a priority. -> <!ENTITY % priority «NMTOKEN»>
<!ENTITY % space-att «xml:space (default|preserve) #IMPLIED»>
<!– This may be overridden to customize the set of elements allowed at the top-level. ->
<!ENTITY % non-xsl-top-level ''>
<!ENTITY % top-level '
(xsl:import*,
(xsl:include
| xsl:strip-space
| xsl:preserve-space
| xsl:output
| xsl:key
| xsl:decimal-format
| xsl:attribute-set
| xsl:variable
| xsl:param
| xsl:template
| xsl:namespace-alias
%non-xsl-top-level;)*)
'>
<!ENTITY % top-level-atts ' extension-element-prefixes CDATA #IMPLIED
exclude-result-prefixes CDATA #IMPLIED
id ID #IMPLIED
version NMTOKEN #REQUIRED xmlns:xsl CDATA #FIXED http://www.w3.org/1999/XSL/Transform
%space-att;
'>
<!– This entity is defined for use in the ATTLIST declaration for result elements. ->
<!ENTITY % result-element-atts '
xsl:extension-element-prefixes CDATA #IMPLIED
xsl:exclude-result-prefixes CDATA #IMPLIED
xsl:use-attribute-sets %qnames; #IMPLIED
xsl:version NMTOKEN #IMPLIED
'>
<!ELEMENT xsl:stylesheet %top-level;>
<!ATTLIST xsl:stylesheet %top-level-atts;>
<!ELEMENT xsl:transform %top-level;>
<!ATTLIST xsl:transform %top-level-atts;>
<!ELEMENT xsl:import EMPTY>
<!ATTLIST xsl:import href %URI; #REQUIRED>
<!ELEMENT xsl:include EMPTY>
<!ATTLIST xsl:include href %URI; #REQUIRED>
<!ELEMENT xsl:strip-space EMPTY>
<!ATTLIST xsl:strip-space elements CDATA #REQUIRED>
<!ELEMENT xsl:preserve-space EMPTY>
<!ATTLIST xsl:preserve-space elements CDATA #REQUIRED>
<!ELEMENT xsl:output EMPTY>
<!ATTLIST xsl:output
method %qname; #IMPLIED
version NMTOKEN #IMPLIED
encoding CDATA #IMPLIED
omit-xml-declaration (yes|no) #IMPLIED
standalone (yes|no) #IMPLIED
doctype-public CDATA #IMPLIED
doctype-system CDATA #IMPLIED
cdata-section-elements %qnames; #IMPLIED
indent (yes|no) #IMPLIED media-type CDATA #IMPLIED
>
<!ELEMENT xsl:key EMPTY>
<!ATTLIST xsl:key
name %qname; #REQUIRED
match %pattern; #REQUIRED
use %expr; #REQUIRED
>