Skip to Main Content
This paper discusses the method to achieve mapping XML DTD to Relational Schema. It expresses the nodes, attributes and semantic constraints of XML DTD by using ADG. It then optimizes the ADG, and finally converts ADG to relational schema. This article gives the algorithm steps of creating ADG by DTD, the optimization of ADG and the transformation rule from semantic constraints of ADG to semantic constraints of Relational Schema. The method cannot only obtain the structure information of DTD, but also maintain the semantic constraint of DTD.