Get the text length of an element
Int textSizeOfBlock( Element element )
element The element
Get the text length of an element's contents, including any text in sub-elements, but not the tags that delimit those elements. Items such as < are shown in their unescaped form.
Note that any element generators inside the element will be evaluated as a result of this function, which may be very inefficient.
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). For further information see http://kayalang.org/
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.