view etc/schema/xhtml-script.rnc @ 96294:f12e581d977f

(completion-basic-try-completion): Use the text after point to consrain the completion candidates. (completion-basic-all-completions): Adjust accordingly.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 26 Jun 2008 02:48: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