summaryrefslogtreecommitdiff
path: root/etc/schema/xhtml-script.rnc
blob: fcf35b02714bbcbb66157a622779c46404daa820 (plain)
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