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 Stringmode: How to print empty tags (see ElementTreeData::EmptyTagMode). Optional, defaulting toOpenAndClose.indentlevel: The initial indentation level to use. Optional, defaulting to zero.uform: The method of printing non-ASCII characters (see ElementTreeData::UnicodeFormat). Optional, defaulting toLiteralUTF8.breakers: A dictionary of elements that start a new line in the output code. Optional, defaulting to an empty dictionaryemptyels: A dictionary of elements that are empty. Optional, defaulting to an empty dictionary
Usage
Convert an ElementTree to a String, using the selected conversion options. If the String will be printed immediately, use lazyPrint instead.