view etc/schema/xhtml-script.rnc @ 92016:4a8a943b5b75

(decode_mode_spec): New arg string. (display_mode_element): Adjusted for the above change.
author Kenichi Handa <handa@m17n.org>
date Thu, 21 Feb 2008 07:03:56 +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