A first approach to the automatic recognition of structural patterns in XML documents