XML2 - Find the Maximum Depth

  • + 0 comments

    maxdepth = max(maxdepth, level+1) for x in elem: depth(x, level+1)