I have xml document that has following structure and I want to select valueStart and valueEnd attribute values depending on Balance attribute bsdate value and BalanceRow attribute rowNum value. For instance:I have xml document that has following structur