.\" 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 "ElementTreeData.EmptyTagMode" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" ElementTreeData::EmptyTagMode \- Controls printing of empty elements .SH "SYNOPSIS" .B ElementTreeData::EmptyTagMode< \fI\fP .B > .IP "" -2 = .BI "Singleton(" "" ")" .IP "" -2 | .BI "ImpliedSingleton(" "" ")" .IP "" -2 | .BI "OpenAndClose(" "" ")" .SH "DESCRIPTION" .PP This data type is used by .B "ElementTree.string"(3kaya) and .B "ElementTree.lazyPrint"(3kaya) to control the printing of empty elements (i.e. elements that are defined as empty, not merely elements that happen to have no content). .PP \fBSingleton \fP or \fBOpenAndClose \fP are both usable in XML ( \fBSingleton \fP is usually more readable). If you are using this module to generate HTML (or other non-XML-based markup languages) then \fBImpliedSingleton \fP should be used. The following list shows how each displays an empty \fBbr \fP element. .IP "" -2 - \fBSingleton \fP : \fI
\fP .IP "" -2 - \fBImpliedSingleton \fP : \fI
\fP .IP "" -2 - \fBOpenAndClose \fP : \fI

\fP .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.