Maybe<Int> findElement(ElementTree block, String subname)
Arguments
block: The elementsubname: The child element's name
Usage
Gets the index of the first named sub-element within the parent element, or nothing if the element does not have a sub-element with that name.
Generators will be evaluated to see if their root element is the right element.