1HTMLDocument.HTMLDocument(3kayKaa)ya module refereHnTcMeLDocument.HTMLDocument(3kaya)
2
3
4
6 HTMLDocument::HTMLDocument - A HTML document
7
9 HTMLDocument::HTMLDocument< >
10
11
12 = HTMLDocument(HTMLDocument::MetaData head,ElementTreeData::ElementTree
13 body,HTMLDocument::Doctype doctype,[Tuples::Pair<String, String> ] http‐
14 headers)
15
17 This data type represents a HTML document. The doctype is set when an
18 instance of this type is created. The document can be converted to a
19 string, with each field forming a different part
20
21
22 <DOCTYPE ...> <!-- from doctype field -->
23 <html>
24 <head>
25 <!-- links, stylesheets, scripts and metadata from the head field >
26 </head>
27 <body>
28 <!-- a HTML or XHTML element tree manipulated with the
29 functions in this module -->
30 </body>
31 </html>
32
33 The httpheaders field contains details of HTTP headers to be set if the
34 document is served over HTTP (such as in a CGI program or Webapp)
35
37 Kaya standard library by Edwin Brady, Chris Morris and others
38 (kaya@kayalang.org). For further information see http://kayalang.org/
39
41 The Kaya standard library is free software; you can redistribute it
42 and/or modify it under the terms of the GNU Lesser General Public
43 License (version 2.1 or any later version) as published by the Free
44 Software Foundation.
45
47 HTMLDocument.Doctype (3kaya)
48 ElementTreeData.ElementTree (3kaya)
49 HTMLDocument.MetaData (3kaya)
50 HTMLDocument.addHTTPHeader (3kaya)
51 HTMLDocument.new (3kaya)
52 HTMLDocument.setDocumentTitle (3kaya)
53 CGI(3kaya)
54 Webapp(3kaya)
55
56
57
58Kaya December 2010HTMLDocument.HTMLDocument(3kaya)