view etc/schema/xhtml-script.rnc @ 111184:c7c697c81a21

* etc/images/README: Add (un)checked.xpm * etc/images/checked.xpm, images/unchecked.xpm: Add copyright.
author Glenn Morris <rgm@gnu.org>
date Mon, 25 Oct 2010 20:02:30 -0700
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