xhtml-script.rnc 483 B

12345678910111213141516
  1. # Script Module
  2. script = element script { script.attlist, text }
  3. script.attlist =
  4. attribute charset { Charset.datatype }?,
  5. attribute type { ContentType.datatype },
  6. attribute src { URI.datatype }?,
  7. attribute defer { "defer" }?,
  8. attribute xml:space { "preserve" }?
  9. noscript = element noscript { noscript.attlist, Block.model }
  10. noscript.attlist = Common.attrib
  11. head.content &= script*
  12. Script.class = noscript | script
  13. Inline.class |= Script.class
  14. Block.class |= Script.class