view etc/schema/xhtml-script.rnc @ 105182:e77a0b956835

* frame.c (xrdb_get_resource): Return nil for empty string resources; some parts of Emacs code (like font selection) don't grok them. See http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 24 Sep 2009 16:59:14 +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