XStruct: Efficient Schema Extraction from Multiple and Large XML Documents

J. Hegewald, F. Naumann, M. Weis
2006 22nd International Conference on Data Engineering Workshops (ICDEW'06)  
XML is the de facto standard format for data exchange on the Web. While it is fairly simple to generate XML data, it is a complex task to design a schema and then guarantee that the generated data is valid according to that schema. As a consequence much XML data does not have a schema or is not accompanied by its schema. In order to gain the benefits of having a schema-efficient querying and storage of XML data, semantic verification, data integration, etc.-this schema must be extracted. In
more » ... paper we present an automatic technique, XStruct, for XML Schema extraction. Based on ideas of [5] , XStruct extracts a schema for XML data by applying several heuristics to deduce regular expressions that are 1-unambiguous and describe each element's contents correctly but generalized to a reasonable degree. Our approach features several advantages over known techniques: XStruct scales to very large documents (beyond 1GB) both in time and memory consumption; it is able to extract a general, complete, correct, minimal, and understandable schema for multiple documents; it detects datatypes and attributes. Experiments confirm these features and properties.
doi:10.1109/icdew.2006.166 dblp:conf/icde/HegewaldNW06 fatcat:dlzs3og2xzehrebwqawecezd5a