1HTMLDocument.Doctype(3kaya) Kaya module reference HTMLDocument.Doctype(3kaya)
2
3
4
6 HTMLDocument::Doctype - The document type declaration.
7
9 HTMLDocument::Doctype< >
10
11
12 = HTML4Strict()
13
14
15 | XHTML1Strict()
16
17
18 | TagSoup()
19
21 The document type declaration for the current document. You can either
22 use HTML 4.01 or XHTML 1.0 Strict doctypes (HTML is generally recom‐
23 mended due to the current lack of browser support for XHTML, but you
24 may need XHTML output if you intend to further process the document
25 with other XML tools). This changes the <!DOCTYPE ...> declaration at
26 the top of the document, and has other minor effects on code output.
27
28 The Transitional doctypes are not supported in Kaya - these doctypes
29 are intended only for transitioning legacy documents, and Kaya is suf‐
30 ficiently new not to have any such legacy documents existing.
31
32 The TagSoup HTMLDocument.readFromString (3kaya)
33
34
36 Kaya standard library by Edwin Brady, Chris Morris and others
37 (kaya@kayalang.org). For further information see http://kayalang.org/
38
40 The Kaya standard library is free software; you can redistribute it
41 and/or modify it under the terms of the GNU Lesser General Public
42 License (version 2.1 or any later version) as published by the Free
43 Software Foundation.
44
46 HTMLDocument.HTMLDocument (3kaya)
47 HTMLDocument.new (3kaya)
48 HTMLDocument.readFromString (3kaya)
49 W3C list of Doctypes ⟨http://www.w3.org/QA/2002/04/valid-dtd-list.html⟩
50
51
52
53Kaya December 2010 HTMLDocument.Doctype(3kaya)