We have been trying to highlight contents around indexterm tag in DITA document. We are having trouble navigating the indexterm tag. The text doesn't highlight properly when we execute ACL function goto_oid with oid of <p> tag and start offset of flowers word. Instead it highlights the text [index: which appears in the indexterm tag before the flowers word (please see attached image).
Sample from our tag:
<p>Some of the flowers blooming in autumn<indexterm>flowers<indexterm>, autumn</indexterm></indexterm> are: Acashia, Allium, Alstromeria</p>
The ACL's we used:
eval goto_oid(oid_of_p_tag, start_offset)
What values should be replaced for start_offset parameter in the above code to highlight word flowers in indexterm tag and word Acashia next to the indexterm tag?