1ElementTreeData.EmptyTagMode(3Kkaayyaa)module refEelreemnecnetTreeData.EmptyTagMode(3kaya)
2
3
4
6 ElementTreeData::EmptyTagMode - Controls printing of empty elements
7
9 ElementTreeData::EmptyTagMode< >
10
11
12 = Singleton()
13
14
15 | ImpliedSingleton()
16
17
18 | OpenAndClose()
19
21 This data type is used by ElementTree.string (3kaya) and Elementā
22 Tree.lazyPrint (3kaya) to control the printing of empty elements (i.e.
23 elements that are defined as empty, not merely elements that happen to
24 have no content).
25
26 Singleton or OpenAndClose are both usable in XML ( Singleton is usually
27 more readable). If you are using this module to generate HTML (or other
28 non-XML-based markup languages) then ImpliedSingleton should be used.
29 The following list shows how each displays an empty br element.
30
31
32 - Singleton : <br />
33
34
35 - ImpliedSingleton : <br>
36
37
38 - OpenAndClose : <br></br>
39
41 Kaya standard library by Edwin Brady, Chris Morris and others
42 (kaya@kayalang.org). For further information see http://kayalang.org/
43
45 The Kaya standard library is free software; you can redistribute it
46 and/or modify it under the terms of the GNU Lesser General Public
47 License (version 2.1 or any later version) as published by the Free
48 Software Foundation.
49
50
51
52Kaya December 20E1l0ementTreeData.EmptyTagMode(3kaya)