element script
diagram girr_ns_p81.png
namespace http://www.w3.org/1999/xhtml
properties
content complex
mixed true
used by
groups head.misc misc.inline
attributes
Name  Type  Use  Default  Fixed  annotation
idxs:ID      
charsetCharset      
typeContentTyperequired      
srcURI      
deferderived by: xs:token      
space    preserve  
documentation
<div>
<h3>space (as an attribute name)</h3>
<p>
       denotes an attribute whose
       value is a keyword indicating what whitespace processing
       discipline is intended for the content of the element; its
       value is inherited.  This name is reserved by virtue of its
       definition in the XML specification.</p>
</div>
annotation
documentation

      script statements, which may include CDATA sections
     
source <xs:element name="script">
 
<xs:annotation>
   
<xs:documentation>
      script statements, which may include CDATA sections
     
</xs:documentation>
 
</xs:annotation>
 
<xs:complexType mixed="true">
   
<xs:attribute name="id" type="xs:ID"/>
   
<xs:attribute name="charset" type="Charset"/>
   
<xs:attribute name="type" type="ContentType" use="required"/>
   
<xs:attribute name="src" type="URI"/>
   
<xs:attribute name="defer">
     
<xs:simpleType>
       
<xs:restriction base="xs:token">
         
<xs:enumeration value="defer"/>
       
</xs:restriction>
     
</xs:simpleType>
   
</xs:attribute>
   
<xs:attribute ref="xml:space" fixed="preserve"/>
 
</xs:complexType>
</xs:element>

attribute script/@id
type xs:ID
properties
isRef 0
source <xs:attribute name="id" type="xs:ID"/>

attribute script/@charset
type Charset
properties
isRef 0
source <xs:attribute name="charset" type="Charset"/>

attribute script/@type
type ContentType
properties
isRef 0
use required
source <xs:attribute name="type" type="ContentType" use="required"/>

attribute script/@src
type URI
properties
isRef 0
source <xs:attribute name="src" type="URI"/>

attribute script/@defer
type restriction of xs:token
properties
isRef 0
facets
Kind Value annotation 
enumeration defer 
source <xs:attribute name="defer">
 
<xs:simpleType>
   
<xs:restriction base="xs:token">
     
<xs:enumeration value="defer"/>
   
</xs:restriction>
 
</xs:simpleType>
</xs:attribute>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy