view etc/schema/xhtml-script.rnc @ 111548:ae7e9ce45a16

* lib-src/test-distrib.c: Remove include guards for config.h and fcntl.h. (O_RDONLY): Do not define. (cool_read): Fix type for variable "sofar".
author Dan Nicolaescu <dann@ics.uci.edu>
date Sun, 14 Nov 2010 22:42:21 -0800
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