(index ("doctype-html" 0) ("doctype-xhtml-1.0-strict" 237) ("doctype-html-4.01-strict" 237) ("doctype-xhtml-1.0-transitional" 237) ("doctype-html-4.01-transitional" 237) ("doctype-xhtml-1.0-frameset" 237) ("doctype-html-4.01-frameset" 237) ("doctype-html-3.2" 237) ("doctype-html-2.0" 237) ("doctype-html-legacy" 1208) ("xhtml-1.0-strict" 1480) ("html-4.01-strict" 1480) ("xhtml-1.0-transitional" 1480) ("html-4.01-transitional" 1480) ("xhtml-1.0-frameset" 1480) ("html-4.01-frameset" 1480) ("html-3.2" 1480) ("html-2.0" 1480) ("doctype-rules" 1998))
(def (sig (constant "doctype-html" (id doctype-html))) (p "Generic HTML doctype.  Introduced in the HTML5 spec, but is backwards-compatible with older browsers, which use it only to switch into standards mode.") (pre "<!DOCTYPE HTML>"))
(def (sig (constant "doctype-xhtml-1.0-strict" (id doctype-xhtml-1.0-strict)) (constant "doctype-html-4.01-strict" (id doctype-html-4.01-strict)) (constant "doctype-xhtml-1.0-transitional" (id doctype-xhtml-1.0-transitional)) (constant "doctype-html-4.01-transitional" (id doctype-html-4.01-transitional)) (constant "doctype-xhtml-1.0-frameset" (id doctype-xhtml-1.0-frameset)) (constant "doctype-html-4.01-frameset" (id doctype-html-4.01-frameset)) (constant "doctype-html-3.2" (id doctype-html-3.2)) (constant "doctype-html-2.0" (id doctype-html-2.0))) (p "Strings corresponding to the \"obsolete permitted\" HTML and XHTML doctypes.  In general it is safe to use " (tt "doctype-html") " instead, as the doctype is typically only used to switch browsers into standards mode, and all known browsers do this with " (tt "doctype-html") ".") (pre ";doctype-html-4.01-strict\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">"))
(def (sig (constant "doctype-html-legacy" (id doctype-html-legacy))) (p "Legacy HTML doctype, which should only be emitted by a renderer when it cannot produce the shorter " (tt "doctype-html") ".  Don't use this.") (pre "<!DOCTYPE HTML SYSTEM \"about:legacy-compat\">"))
(def (sig (constant "xhtml-1.0-strict" (id xhtml-1.0-strict)) (constant "html-4.01-strict" (id html-4.01-strict)) (constant "xhtml-1.0-transitional" (id xhtml-1.0-transitional)) (constant "html-4.01-transitional" (id html-4.01-transitional)) (constant "xhtml-1.0-frameset" (id xhtml-1.0-frameset)) (constant "html-4.01-frameset" (id html-4.01-frameset)) (constant "html-3.2" (id html-3.2)) (constant "html-2.0" (id html-2.0))) (p "Aliases for " (tt "doctype-*") ".  Deprecated as of " (tt "doctype") " version 2.0."))
(def (sig (constant "doctype-rules" (id doctype-rules))) (p "A handy ruleset for use with " (int-link "sxml-transforms") ".  Rules are named like the corresponding constants -- for example, " (tt "doctype-html") " -- and will output the HTML doctype as a string.") (p "This ruleset contains preorder rules which should be appended/prepended to the " (tt "universal-conversion-rules") " because they output raw text which should not be processed again.  See the example below.") (p "Note: for compatibility with " (i "doctype") " egg versions 2.0 and earlier, rules without the " (tt "doctype-") " prefix are accepted as well: e.g. " (tt "xhtml-1.0-strict") ".  The only exception is " (tt "html") ", which conflicts with the " (tt "<html>") " tag."))
