Not sure why everybody is querying for siblings, you can also check for <bb/>-elements matching the predicate from <a/>‘s predicate:
//a[bb/text() = "zz"]/cc/text()
Not sure why everybody is querying for siblings, you can also check for <bb/>-elements matching the predicate from <a/>‘s predicate:
//a[bb/text() = "zz"]/cc/text()