In this paper we focus on extension of approaches for inferring an XML schema from a sample set of XML documents with mining primary and foreign keys. In particular we consider the keys in the context of XSD, i.e. absolute and relative as well as simple and composite keys.
We propose a novel approach called KeyMiner and depict its efficiency experimentally using real-world and synthetic data.