1HTMLDocument.write(3kaya) Kaya module reference HTMLDocument.write(3kaya)
2
3
4
6 HTMLDocument::write - Print a HTML document on standard output
7
9 Void write( HTMLDocument doc, UnicodeFormat uform=LiteralUTF8 )
10
12 doc The HTML document
13
14 uform The mode for handling multibyte UTF-8 characters. LiteralUTF8
15 will give a smaller String, readable in Unicode-aware applications.
16 NumericReference will give a larger String, especially if multibyte
17 characters are very common in the text, but will work better if the
18 String will later be edited in non-Unicode applications. This argument
19 is optional, and defaults to the recommended LiteralUTF8 , but you may
20 wish to use NumericReference if standard output is connected to a non-
21 Unicode terminal, for example.
22
24 Print the HTML document on standard output. This is considerably more
25 efficient than putStr(string(doc));
26
28 Kaya standard library by Edwin Brady, Chris Morris and others
29 (kaya@kayalang.org). For further information see http://kayalang.org/
30
32 The Kaya standard library is free software; you can redistribute it
33 and/or modify it under the terms of the GNU Lesser General Public
34 License (version 2.1 or any later version) as published by the Free
35 Software Foundation.
36
38 ElementTreeData.UnicodeFormat (3kaya)
39 HTMLDocument.HTMLDocument (3kaya)
40 HTMLDocument.string (3kaya)
41 HTMLDocument.writeTo (3kaya)
42
43
44
45Kaya December 2010 HTMLDocument.write(3kaya)