view etc/schema/xhtml-script.rnc @ 110450:9b627013b805

* lisp/textmodes/reftex-parse.el (reftex-what-macro) (reftex-context-substring): Let-bind forward-sexp-function to nil since we don't need/want to treat \begin...\end as a block.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 21 Sep 2010 00:42:47 +0200
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