diff options
Diffstat (limited to 'etc/schema/xhtml-script.rnc')
-rw-r--r-- | etc/schema/xhtml-script.rnc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/schema/xhtml-script.rnc b/etc/schema/xhtml-script.rnc new file mode 100644 index 00000000000..fcf35b02714 --- /dev/null +++ b/etc/schema/xhtml-script.rnc @@ -0,0 +1,15 @@ +# 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 |