Predicates can be specified separately:
a[@name][@href] slide[1][notes]
Each predicate is filtered by the next.
They have equivalent forms as 'and' predicates:
a[@name and @href] slide[position()=1 and notes]
Separate predicates may be easier to write.