I might not be using the right search terms, but I cannot
find a single article anywhere on determining at what depth a node
exists within an XML tree.
I can't use the node's name, because sections can exist
within sections as you can see (and I can't change the format of
the XML document). I need to be able to get a number value of 0 for
a "top level" section node (ie: "Home"), and 1 for a section node
within a section node (ie: "Subnav1"), and so on.