-
//CD/performance[position()=2]
:
returns the second performance
of each CD
-
//CD/performance[position()=2][date]
: returns
the second performance
of each CD
if it has
a date
(otherwise, returns nothing)
-
//CD/performance[date and position()=2]
: returns
the same
-
//CD/performance[date][position()=2]
: returns
the second of those performance
children of each
CD
that have a date
(if any)