view etc/schema/xhtml-script.rnc @ 110434:ec099872cdc4

* subr.el (y-or-n-p): Remove leftover code from revno 101459.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 20 Sep 2010 02:52:17 +0200
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