Dear all,
May be this question is not related to SAXON directly , but as i am using SAXON as underlying implemenation , so i am asking this quesiton on this forum.
  If i have an Xpath
  /Physician/patients[Boolean condition]
now if i want that this boolean condition shall evaluate only one record of the patient instead of a set otherwise an error, is this kind of functioality can be expressable with Xpath directly instead of incorporating some buissness logic for example some Saxon code. ??