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