.\" 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 "ElementTree.string" "3kaya" "August 2014" "Kaya" "Kaya module reference" .SH "NAME" ElementTree::string \- Convert an ElementTree to a String .SH "SYNOPSIS" .B String string( \fIElementTree etree, EmptyTagMode mode=OpenAndClose, Int indentlevel=0, UnicodeFormat uform=LiteralUTF8, HashSet breakers=newHashSet(1, strHash), HashSet emptyels=newHashSet(1, strHash)\fP .B ")" .SH "ARGUMENTS" .PP .B "etree" The ElementTree to convert to a String .PP .B "mode" How to print empty tags (see .B "ElementTreeData.EmptyTagMode"(3kaya) ). Optional, defaulting to \fBOpenAndClose \fP .PP .B "indentlevel" The initial indentation level to use. Optional, defaulting to zero. .PP .B "uform" The method of printing non-ASCII characters (see .B "ElementTreeData.UnicodeFormat"(3kaya) ). Optional, defaulting to \fBLiteralUTF8 \fP .PP .B "breakers" A dictionary of elements that start a new line in the output code. Optional, defaulting to an empty dictionary .PP .B "emptyels" A dictionary of elements that are empty. Optional, defaulting to an empty dictionary .SH "DESCRIPTION" .PP Convert an ElementTree to a String, using the selected conversion options. If the String will be printed immediately, use .B "ElementTree.lazyPrint"(3kaya) instead. .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 "ElementTree.lazyPrint"(3kaya) .PD 0.4v