File: xhtml-script.rnc

package info (click to toggle)
nxml-mode 20041004-4
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,448 kB
  • ctags: 1,105
  • sloc: lisp: 27,512; xml: 686; makefile: 116; sh: 37
file content (15 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (17)
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