view etc/schema/xhtml-script.rnc @ 107792:84df551e8c64

(calcFunc-fdiv): Use `nth' to choose elements from list.
author Jay Belanger <jay.p.belanger@gmail.com>
date Tue, 06 Apr 2010 20:43:23 -0500
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