Text this: Structural similarity evaluation between XML documents and DTDs