From the XHTML 1.0 DTD

            <!-- script statements, which may include CDATA sections -->
            <!ELEMENT script (#PCDATA)>
            <!ATTLIST script
              id          ID             #IMPLIED
              charset     %Charset;      #IMPLIED
              type        %ContentType;  #REQUIRED
              src         %URI;          #IMPLIED
              defer       (defer)        #IMPLIED
              xml:space   (preserve)     #FIXED 'preserve'
              >
        

From the XHTML 1.1 Scripting Module

            <!ENTITY % script.attlist  "INCLUDE" >
            <![%script.attlist;[
            <!ATTLIST %script.qname;
                  %XHTML.xmlns.attrib;
            	  %id.attrib;
                  charset      %Charset.datatype;       #IMPLIED
                  type         %ContentType.datatype;   #REQUIRED
                  src          %URI.datatype;           #IMPLIED
                  defer        ( defer )                #IMPLIED
            >
            <!-- end of script.attlist -->]]>