According to the documentaion, ElementGetChildFieldItem takes the index of the element as an argument.
However, ElementGetChildrenValue returns not a list of indices but rather just the count of the number of elements matching that value.
Isn't then the example for ElementGetChildrenValue incorrect?
How can I find the index of an element with a particular value so that I can select it?