NAME¶
ElementTree::lazyPrint - Print an ElementTree
SYNOPSIS¶
Void lazyPrint( 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 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
DESCRIPTION¶
Print an ElementTree to standard output, using the selected conversion options.
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.lazyOutput (3kaya)
ElementTree.string (3kaya)