.\" This man page is automatically generated using .\" kayadoc2man from the Kaya development tools and the -xmldocs compile .\" option. Editing it directly is not encouraged. .\" It is under the same license as the source .k file that it was .\" generated from. .TH "HTMLDocument.HTMLDocument" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" HTMLDocument::HTMLDocument \- A HTML document .SH "SYNOPSIS" .B HTMLDocument::HTMLDocument< \fI\fP .B > .IP "" -2 = .BI "HTMLDocument(" "HTMLDocument::MetaData head,ElementTreeData::ElementTree body,HTMLDocument::Doctype doctype,[Tuples::Pair ] httpheaders" ")" .SH "DESCRIPTION" .PP This data type represents a HTML document. The doctype is set when an instance of this type is created. The document can be converted to a string, with each field forming a different part .IP "" -4 .PP The \fBhttpheaders \fP field contains details of HTTP headers to be set if the document is served over HTTP (such as in a CGI program or Webapp) .SH "AUTHORS" Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/ .SH LICENSE The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation. .SH "RELATED" .PD 0 .PP .B "HTMLDocument.Doctype"(3kaya) .PP .B "ElementTreeData.ElementTree"(3kaya) .PP .B "HTMLDocument.MetaData"(3kaya) .PP .B "HTMLDocument.addHTTPHeader"(3kaya) .PP .B "HTMLDocument.new"(3kaya) .PP .B "HTMLDocument.setDocumentTitle"(3kaya) .PP .BR "CGI(3kaya)" .PP .BR "Webapp(3kaya)" .PD 0.4v