the node cache prevents recursively walking the xml tree over and over again to find the specified nodes.