Recently XML has become a standard for data representation and the preferred method of encoding struc- tured data for exchange over the Internet. Moreover it is fre- quently used as a logical format to store structure...Recently XML has become a standard for data representation and the preferred method of encoding struc- tured data for exchange over the Internet. Moreover it is fre- quently used as a logical format to store structured and semi- structured data in databases. We propose a model-driven and configurable approach for modeling hierarchical XML data using object role modeling (ORM) as a flat conceptual model. First a non-hierarchical conceptual schema of the problem domain is built using ORM and then different hierarchical views of the conceptual schema or parts of it are specified by the designer using transformation rules. A hierarchical mod- eling notation called H-ORM is proposed to show these hier- archical views and model more complex semi-structured data constructs and constraints. We also propose an algorithm to map hierarchical H-ORM views to XML schema language.展开更多
文摘Recently XML has become a standard for data representation and the preferred method of encoding struc- tured data for exchange over the Internet. Moreover it is fre- quently used as a logical format to store structured and semi- structured data in databases. We propose a model-driven and configurable approach for modeling hierarchical XML data using object role modeling (ORM) as a flat conceptual model. First a non-hierarchical conceptual schema of the problem domain is built using ORM and then different hierarchical views of the conceptual schema or parts of it are specified by the designer using transformation rules. A hierarchical mod- eling notation called H-ORM is proposed to show these hier- archical views and model more complex semi-structured data constructs and constraints. We also propose an algorithm to map hierarchical H-ORM views to XML schema language.