32. XML Scripting Module

This section is normative for purposes of defining the integration of the XML Script Module into XHTML 2. The semantics of XML Scripting Module itself are normatively defined in [XMLEVENTS].

This module defines the script element as follows:

Element Attributes Content Model
script Common,
encoding (Charset),
implements (URIorSafeCURIEs),
src (URI),
type (ContentTypes)
PCDATA

The script element is added to the Structural and Text content sets of the Structural and Text Modules. In addition, the script element is added to the content model of the head element defined in the Document Module.