$ 0 0 by Brian Merritt. I haven't tried to use the path key, but with parent and all categories it should be possible to get all subcategories programatically.