1ElementTree.findElement(3kaya)Kaya module referencEelementTree.findElement(3kaya)
2
3
4
6 ElementTree::findElement - Get the index of a named sub-element from an
7 element
8
10 Maybe<Int> findElement( ElementTree block, String subname )
11
13 block The element
14
15 subname The child element's name
16
18 Gets the index of the first named sub-element within the parent ele‐
19 ment, or nothing if the element does not have a sub-element with that
20 name.
21
22 Generators will be evaluated to see if their root element is the right
23 element.
24
26 Kaya standard library by Edwin Brady, Chris Morris and others
27 (kaya@kayalang.org). For further information see http://kayalang.org/
28
30 The Kaya standard library is free software; you can redistribute it
31 and/or modify it under the terms of the GNU Lesser General Public
32 License (version 2.1 or any later version) as published by the Free
33 Software Foundation.
34
35
36
37Kaya December 2010 ElementTree.findElement(3kaya)