code: def _recursiveSetNodePath(self, nodePath):
          
          self._nodePath = nodePath
          for childItem in self.childItems:
              childItem._recursiveSetNodePath(nodePath + '/' + childItem.nodeName)
docs: Sets the nodePath property and updates it for all children.