xhtml-script.rnc 483 Bytes
Newer Older
Mark A. Hershberger's avatar
Mark A. Hershberger committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Script Module

script = element script { script.attlist, text }
script.attlist =
  attribute charset { Charset.datatype }?,
  attribute type { ContentType.datatype },
  attribute src { URI.datatype }?,
  attribute defer { "defer" }?,
  attribute xml:space { "preserve" }?
noscript = element noscript { noscript.attlist, Block.model }
noscript.attlist = Common.attrib
head.content &= script*
Script.class = noscript | script
Inline.class |= Script.class
Block.class |= Script.class