Would you call it level or depth?
问题 Which word would you pick to label the absolute stack level of an element—in other words its degree of nesting relative to the root/document element? Between level and depth which one would you choose and why? What is commonly used or preferred? Which one would you find less confusing in the absence of a meaningful context? I tried checking the XML specification without much success. 回答1: I call it Depth . As we know, XML is a Node based structure . We all know that in Data Structures we use