1xpointer(//chapter[position() = 2]/range-to(following::chapter[1]))
2xpointer(//chapter[position() <= 2]/range-to(following::chapter[1]))
3xpointer(//chapter[position() = last()]/range-to(following::chapter[1]))
4xpointer(//chapter[position() = 3]/range-to(/.//chapter[position() = 1]))
5