select="$BCRs/BCR[count(. | $BCRs/BCR[@bss = @bss][1]) = 1]"
I need the two @bss
to refer to each $BCRs/BCR
.
I'm using the Muenchian technique to get the first element with each value of the attribute. However, I can't use keys so I have to check the attributes this way. How can I make the @bss
refer to different nodes?