view etc/schema/xhtml-script.rnc @ 107438:19fdc244bab9

* s/openbsd.h: Remove support for non-ELF and for systems that do not support shared libraries. * s/netbsd.h: * s/freebsd.h: Likewise.
author Dan Nicolaescu <dann@ics.uci.edu>
date Fri, 19 Mar 2010 22:18:05 -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