> part without the end node and without the tree name, you
> should be able to:
> Start: 1
> Length: -2
> But in practice I have had a hard time doing this. What I > mean by that is, it just does not work reliably. I am not > sure why exactly.
The reason you are having a problem to get it to work is that you are thinking of the length incorrectly.
> Negative one (-1), means go to the end of the nodes
> (leaf most). Negative 2 (-2) means go to one node before
> the leaf most node.
Negative numbers in the length don't have any direct connection to the leaf node or the root node or any other node: They represent the total number of nodes in the input DN. e.g. -1 is the count of all the nodes, -2 is one less than that, -3 is 2 less than that. So if you want all the nodes but the first and the last, you want some thing that is 2 nodes shorter than, the original, hence you need to use -3.