1ElementTreeData.ElementTree(3kKaayyaa)module refeErleenmceentTreeData.ElementTree(3kaya)
2
3
4

NAME

6       ElementTreeData::ElementTree - An element and its descendants
7

SYNOPSIS

9       ElementTreeData::ElementTree< >
10
11
12     = ElementTree([ElementTreeData::Element] elements,String name,Dict::Tiny‐
13     Dict<String, String>  attributes)
14

DESCRIPTION

16       This data type represents a node in the tree and  its  descendants  (in
17       XML,  an element and its contents). The elements field is a list of the
18       descendant ElementTreeData.Element (3kaya) s, the  name  field  is  the
19       name  of  the  element,  and  the  attributes  field is a dictionary of
20       attribute names and values.
21
22
23    attrs = newTiny();
24    add(attrs,"title","Hello");
25    el = ElementTree(subs,"example",attrs);
26    // converts to a string as
27    // <example title="Hello">...contents of subs here...</example>
28

AUTHORS

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

LICENSE

34       The  Kaya  standard  library  is free software; you can redistribute it
35       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
36       License  (version  2.1  or  any later version) as published by the Free
37       Software Foundation.
38
39
40
41Kaya                             December 201E0lementTreeData.ElementTree(3kaya)
Impressum