NAME¶
ElementTree::string - Convert an ElementTree to a String
SYNOPSIS¶
String string( ElementTree etree, EmptyTagMode mode=OpenAndClose, Int
indentlevel=0, UnicodeFormat uform=LiteralUTF8, HashSet<String>
breakers=newHashSet(1, strHash), HashSet<String> emptyels=newHashSet(1,
strHash) )
ARGUMENTS¶
etree The ElementTree to convert to a String
mode How to print empty tags (see
ElementTreeData.EmptyTagMode
(3kaya) ). Optional, defaulting to
OpenAndClose
indentlevel The initial indentation level to use. Optional, defaulting to
zero.
uform The method of printing non-ASCII characters (see
ElementTreeData.UnicodeFormat (3kaya) ). Optional, defaulting to
LiteralUTF8
breakers A dictionary of elements that start a new line in the output
code. Optional, defaulting to an empty dictionary
emptyels A dictionary of elements that are empty. Optional, defaulting to
an empty dictionary
DESCRIPTION¶
Convert an ElementTree to a String, using the selected conversion options. If
the String will be printed immediately, use
ElementTree.lazyPrint
(3kaya) instead.
AUTHORS¶
Kaya standard library by Edwin Brady, Chris Morris and others
(kaya@kayalang.org). For further information see
http://kayalang.org/
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.
ElementTree.lazyPrint (3kaya)