view etc/schema/xhtml-script.rnc @ 97796:5d474cdb19f8

(json-read-number): New arg. Handle explicitly signed numbers. (json-readtable): Add `+' and `.'.
author Chong Yidong <cyd@stupidchicken.com>
date Thu, 28 Aug 2008 20:19:17 +0000
parents 38f93f3d00a2
children
line wrap: on
line source

# 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