1ElementTree.newElement(3kaya)Kaya module referenceElementTree.newElement(3kaya)
2
3
4

NAME

6       ElementTree::newElement - Create a new element
7

SYNOPSIS

9       ElementTree newElement( String name, Int expectedchildren=0 )
10

ARGUMENTS

12       name The name of the new element
13
14       expectedchildren  This  argument  is used for optimising internal func‐
15       tions but may be useful to end users in some circumstances -  it  gives
16       the  expected number of child elements (including text data blocks). It
17       is optional and defaults to 10.
18

DESCRIPTION

20       Creates a new Element with the specified name.
21

AUTHORS

23       Kaya  standard  library  by  Edwin  Brady,  Chris  Morris  and   others
24       (kaya@kayalang.org). For further information see http://kayalang.org/
25

LICENSE

27       The  Kaya  standard  library  is free software; you can redistribute it
28       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
29       License  (version  2.1  or  any later version) as published by the Free
30       Software Foundation.
31
32
33
34Kaya                             December 2010   ElementTree.newElement(3kaya)
Impressum