Definition Type: Element
Name: script
Namespace: http://www.w3.org/1999/xhtml
Containing Schema: xhtml1-strict.xsd
Abstract
Documentation:
script statements, which may include CDATA sections
Collapse XSD Schema Diagram:
Drilldown into space in schema xml_xsd Drilldown into defer in schema xhtml1-strict_xsd Drilldown into src in schema xhtml1-strict_xsd Drilldown into type in schema xhtml1-strict_xsd Drilldown into charset in schema xhtml1-strict_xsd Drilldown into id in schema xhtml1-strict_xsdXSD Diagram of script in schema xhtml1-strict_xsd (XHTML™ 1.0 The Extensible HyperText Markup Language)
Collapse XSD Schema Code:
<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" use="required" type="ContentType" />
        <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>
Collapse Child Attributes:
Name Type Default Value Use
id nsA:id (Optional)
charset nsA:charset (Optional)
type nsA:type Required
src nsA:src (Optional)
defer nsA:defer (Optional)
space xml:space (Optional)