FWIW a brief JS sketch of using all the XPath axes in Tinderbox, including descendant-or-self, in another thread:
descendant-or-self