Message

Criterion 'd789d01a-fe03-4ccd-9898-73f9cfa080d1' MUST have RequirementGroup '7458d42a-e581-4640-9283-34ceb3ad4345' as child number 2.

Context
ccv:Criterion[cbc:ID[normalize-space(text()) = 'd789d01a-fe03-4ccd-9898-73f9cfa080d1']]
Test
ccv:RequirementGroup[2] and normalize-space(ccv:RequirementGroup[2][current()]/cbc:ID/text()) = '7458d42a-e581-4640-9283-34ceb3ad4345'