script

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
charset xsd:string optional
fetchid ECMAScript.expression optional
maxage xsd:string optional
maxstale xsd:string optional
src URI.datatype optional
timeout xsd:string optional

Used By

Element Group ecmaScriptElements

Source

<xsd:element name="script">
  <xsd:complexType mixed="true">
    <xsd:choice/>
    <xsd:attribute name="src" type="URI.datatype"/>
    <xsd:attribute name="fetchid" type="ECMAScript.expression"/>
    <xsd:attribute name="charset" type="xsd:string"/>
    <xsd:attribute name="timeout" type="xsd:string"/>
    <xsd:attribute name="maxage" type="xsd:string"/>
    <xsd:attribute name="maxstale" type="xsd:string"/>
  </xsd:complexType>
</xsd:element>

Sample