ElementTree.lazyOutput3kaya
Print an elementtree to a user-defined target
Usage
Void lazyOutput( ElementTree etree, EmptyTagMode mode=OpenAndClose, Int indentlevel=0, UnicodeFormat uform=LiteralUTF8, HashSet<String> breakers=newHashSet(1, strHash), HashSet<String> emptyels=newHashSet(1, strHash), Void(String) outfn )
Arguments
etree The ElementTree to print
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
outfn A function to output strings
Overview
Print an ElementTree to the target of outfn , using the selected conversion options.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.