view etc/schema/xhtml-script.rnc @ 108864:f241d9fe71fe

* lisp/emacs-lisp/smie.el (smie-indent-calculate): Simplify and cleanup. (smie-indent-hanging-p): Use smie-bolp. * test/indent: New dir.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 02 Jun 2010 16:13:11 -0400
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