"won't show the correct index numbers" Try it and see :)
In reply to Re^3: Dump filtered subtree? by tybalt89 in thread Dump filtered subtree? by LanX