view etc/schema/xhtml-script.rnc @ 86558:4eb6d42524d5

Add 2007 to copyright years. Switch license to standard GPLv3+ text. (xsdre-gen-categories): Use mapc rather than mapcar.
author Glenn Morris <rgm@gnu.org>
date Wed, 28 Nov 2007 04:15:41 +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