Detecting Structural Similarities between XML Documents