<entry name="A" />
<entry name="B" />
<entry name="C" />
<entry name="D" />
<entry name="E" />
<entry name="F" />
<entry name="." />
<entry name="." />
<entry name="." />
<entry name="Z" />
I want to select the "entry" nodes between B and F. Is there any way to select by combining both preceding and following-sibling? Currently, I am able to select this by finding position() of B and F. But I need a better solution.