1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
emacs/etc/schema/xhtml-script.rnc
2007-11-23 06:58:00 +00:00

15 lines
483 B
Text

# 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