Content between two elements

The content between two nodes is the list of nodes that are, in tree order in the flat tree, after all inclusive descendants of the first element and before the second element.