RDB2XSD: AUTOMATIC SCHEMA MAPPING FROM RDB INTO XML

Size: px
Start display at page:

Download "RDB2XSD: AUTOMATIC SCHEMA MAPPING FROM RDB INTO XML"

Transcription

1 RDB2XSD: AUTOMATIC SCHEMA MAPPING FROM RDB INTO XML 1 LARBI ALAOUI, 2 OUSSAMA EL HAJJAMY, 3 MOHAMED BAHAJ 1 International University of Rabat, Sala Al Jadida, Morocco 2, 3 University Hassan I, FSTS Settat, Morocco 1 larbi.alaoui@hotmail.de, 2 elhajjamyoussama@gmail.com, 3 mohamedbahaj@gmail.com ABSTRACT Extensible Markup Language (XML) is nowadays one of the most important standard media used for exchanging data on the internet. Massive data is still however treated, transferred and stored using relational database systems (RDBs). Therefore, there is a need for an integrated method that deals with database migration from RDB schema to XML schema. In this paper we provide and develop a new solution called RDB2XSD that migrates the conceptual schema of RDB into XSD through a MA (multidimensional array) model. This solution takes an existing RDB as input and extracts its metadata with as much constraints as possible, creates the MA model to capture the semantics of the relational database and applies our mapping algorithm to generate the hierarchical XSD schema. For the implementation of our approach we developed a tool based on java and tested it using Oracle and Mysql databases. Our experimental results based on this tool show that our mapping strategy is feasible and efficient. Keywords: XML, XSD, Relational Database RDB, Schema Conversion, MA Model 1. INTRODUCTION The use of XML schema is rapidly increasing to represent structured and unstructured data in the Internet. However, very large volumes of data are always stocked in relational databases. So, in order to exchange data between relational database (RDB) and XML, a translation algorithm is necessary. Currently, there are two options recommended by thew3c for defining an XML schema. One is the Document Type Definition (DTD) and the other is the XML Schema (XSD). We choose XML Schema because: it has a powerful set of types and constraints which leads to a better translation; it provides us with a more flexible and powerful mechanism through key and keyref" constructs; and with XSD we are able to model composite, multi-valued attributes and complex cardinality constraints. Our aim in this paper is to tackle the problem of translation of relational database schema models to XML schema models. As it is detailed in section 2 the existing works in this sense do not provide a complete solution, and so far there still be no effective proposals that could be considered as a standard method that preserves the whole original structure and constraints of the relational database. For a complete and efficient translation we provide a mapping strategy that takes into account several issues in order to preserve all details related to the relational structure of a relational database so that all its static and semantic information will be reflected by the resulting XML schema. In order to achieve such a complete mapping our approach first extracts the metadata of the considered database, generates the multi dimensional model (MA model) to capture the semantics of the source RDB and apply our algorithm to build the XML structure. Our mapping algorithm uses a set of transformation rules that we give according to a categorization of the types of relations and the types of the constraints we are dealing with in a relational database following some ideas we gave in our previous works [1-2] that are related to mapping RDB to OWL (Ontology Web Language). To validate our solution we have developed a prototype that implements this algorithm and tested its effectiveness using concrete examples. The rest of the paper is organized as follows. In section 2 we review the existing RDB to XML transformation works. Needful terminology and several rules to convert a relational database 285

2 schema into XML schema along with a corresponding categorization of the RDB relations and attributes are given in Section 3. Section 4 discusses the methods for extracting semantics using the MA model and provides our mapping algorithm based on the list of rules. It also presents a result of the performance test of our developed mapping tool. Section 5 concludes this paper. 2. RELATED WORK The conversion from relational database to XML has recently received significant attention and become an active research domain. Various algorithms have been developed to reflect information about relational database using transformations into XML documents. The first works associating RDB with XML were either XML views based or DTDs based. The XML views based methods consisted in presenting XML views of RDB data without providing any schema for the structure of such views. Users should therefore have a better knowledge of what the obtained views represent, in order to be able to query such views. Among these works we cite Silkroute in [6] that aims at publishing relational data as XML views using a transformation language RXL. Users can then issue queries against these views. In this sense we can also mention the works in [3-4], [15], [18-19] and [20]. The DTDs based methods dealt with the mapping of RDB schemas into DTD schemas providing the users with conceptual structures of the considered RDB relations. These were the starting point for the upcoming transformations that map RDB schemas into XSD schemas. It is however preferable for the reasons mentioned in the previous section to have an XSD schema representation of the RDB schema rather than a DTD one. Among the RDB to DTD transformations we cite the work in [11] that mainly considers the static constraints on attributes and do not handle the functional dependencies between relations. Another RDB to DTD mapping technique is given in [8] and consists in joining normalized relations into tables that are mapped into DOMs that are then integrated into a user specified XML document trees which are converted into XML DTDs. As DTD-based translation algorithms we also mention Nestingbased Translation (NeT) and Constraints-based Translation (CoT) algorithms [12-14]. However, NeT does not support any referential integrity constraint. COT considers the structural part of RDB schema such as cardinality and only a restrained semantic part such as foreign key constraint. In [17] an algorithm NeT-FD is also proposed for an RDB to DTD mapping that takes into account the functional dependencies and keys. To come up with solutions to the limitations of DTD some mapping techniques have appeared to transform RDB schemas into XSD (XML schema). The work in 7] gave an approach in this sense that does not handles semantic details and uses a transformation into Extended Entity Relationship model and an XSD graph as intermediary steps. In [10] VP-T (Values Pattern-based translation) and QP-T (Query Pattern-based translation) algorithms have been proposed to resolve the problem of CoT. However, both have a critical restriction that cannot extract a semantic relationship between column titles. Another approach is given in [5] but uses intermediary adjacency matrix and oriented graph. In the same sense transformation approaches were proposed in [16] and [21] but they do not handle all details and they respectively use a reference graph and an ER model as intermediary steps. Also a socalled holistic transformation algorithm is proposed in [22] to transform relational database into a nested XML schema without building a reference graph. This solution classifies relations into three categories (base relation, single related relation and multi related relation according to the number of foreign keys in the relation tables) and gives transformation rules to map these categories. However, marking dominant relations for circular relations and dominant participant relations for multi-related relations based on queried data can provide different XML schema results when an update of the data is performed on the source relational database. Therefore, this solution cannot guarantee an exact XML document creation. Another technique was presented in [9] where the authors consider the case where referential integrity constraints are not included in the RDB schema due the designer s fault or old and poor documentation and extract such constraints from users queries. All the aforementioned XSD based transformation present limitations in treating various important RDB elements related to the art of either relations or attributes such as composite keys, composite foreign keys, self referenced relations and cyclic relations. In the following section we give a more concise and complete categorization of RDB relations that reflects all associated static and semantic details. This categorization will be the basis of our mapping algorithm we are presenting in section 4. We 286

3 assume that all relations in the RDB schema are at least in 3NF. 3. RDB TO XML SCHEMA MAPPING RULES In this section we give a complete list of rules for building the XML schema from the RDB source. To this end we consider relevant categorizations related to the various constraints in a relational database. The first categorization aims at classifying the relations in the database into four categories based on different types of the foreign keys. This classification is as follows: NormalRel(R): R is a relation with no foreign keys; PKAndFKRel(R): the primary key of R also acts as a foreign key; OneFKRel(R): R is a relation with one foreign key; MoreThanOneFKRel(R): R is a relation with more than one foreign key. Then, to preserve the semantics contained in the database source we take into account all the integrity constraints, such as primary keys, foreign keys, not null and unique characteristics: NormalAttr(A, R): A is an attribute in relation R that is not part of a primary or foreign key and that is not declared as unique or as not null; PK(x, R): x is a single or composite primary key of the relation R; FK(x, R, y, S): x is a single or composite foreign key in relation R that references y in relation S; Unique(x, R): x is declared as a unique attribute; NotNull(x, R): x is declared as not null attribute. Finally we capture all circular relations in the database source and find a way to convert it to a hierarchical XML schema. Circular relationships are divided into two categories: SelfRefRelation(R): the relation R has a foreign key x referencing itself and we denote it by SelfRefAttribute(R, x). CyclicRel: A cyclic relation is defined as a set of relations R 1,..., R n (n > 1), where R i is referenced by R i+1 (1 i n) and Rn is referenced by R 1. With all these categorizations we are now ready to give the associated mapping rules Mapping relations Based on the categorization of relations we gave in the previous section with respect to their types and to the various related constraints we are now able to list in the following the associated mapping rules for the transformation of RDB schema into XML schema. Rule 1. XML schema root element: To ensure the XML Schema has a single root, we need to prepare our XSD schema by creating a root element. The root element is created using the name of the database source. <xsd:schema xmlns:xsd=" targetnamespace="targetnamespaceuri" xmlns="targetnamespaceuri" elementformdefault="qualified"> <xsd:element name="databasename"> <!--mapped relational schema is here --> </xsd:sequence> </xsd> Rule 2. NormalRel(R): For every normal relation R, we create an element named R as a child of the root element. <xsd:element name="r"> <!-- details of attributes in R --> Rule 3. OneFKRel(R): If a relation S with one foreign key references another relation R, then the generated element from S must be a sub-element of the generated element from R. In this case we have a 0:n relationship. So we add the minoccur="0" and the maxoccurs="unbounded" constraints to the relation S (maxoccurs = "unbounded" indicates the element S may appear more than once). <xsd:element name="r"> < xsd:element name="s" minoccurs="0" maxoccurs="unbounded"/> Rule 4. PKAndFKRel(R): If the primary key of a relation S is at the same time a foreign key that is 287

4 referencing a field in another relation R, then the generated element from S must be a sub-element of the generated element from R. In this case we have a 0:1 relationship, so we add the minoccur="0" and the maxoccurs="1" to relation S. <xsd:element name="r"> < xsd:element name="s" minoccurs="0" maxoccurs="1"/> Rule 5. MoreThanOneFKRel(R): If a relation R with more than one foreign key and reference R 1 R n relations with (n>1), then, to preserve the integrity constraints, we add keyref element for each foreign key attribute in R as follow: <xsd:element name="r"> <xsd:attribute name="fk 1 " type="xsd:typeoffk 1 " />... <xsd:attribute name="fk n " type="xsd:typeoffk n " /> <xsd:keyref name="r_ref_r 1 " refer="r 1 _y 1 "> <xsd:selector xpath="r"/> <xsd:field xpath="fk 1 "/> </xsd:keyref> <xsd:keyref name="r_ref_r n " refer="r n _y n "> <xsd:selector xpath="r"/> <xsd:field xpath="fk n "/> </xsd:keyref> 3.2. Mapping attributes Rule 6. NormalAttr(x, R): For each normal attribute x in relation R, we create an "attribute" element with the XSD type corresponding to the type of the field in the RDB. <xsd:attribute name="x" type="xsd:typeofx" /> Rule 7. PK(x, R): A primary key is transformed into a "key" element with a selector to select the XPath of its relation. To ensure the uniqueness of the key element name we propose to give for each of them a name obtained by concatenating the name of the Relation and the primary key value corresponding to the converted record. <xsd:key name="r_x"> <xsd:selector xpath="r"/> <xsd:field xpath="x"/> </xsd:key> Rule 8. FK(x, R, y, S): To capture the reference relationship between two relations, a foreign key is converted to a "keyref" element. Note that the foreign key of a OneFKRel(R) is not converted to a "keyref" element. <xsd:keyref name="r_ref_s" refer="s_y"> <xsd:selector xpath="r"/> <xsd:field xpath="x"/> </xsd:keyref> 3.3. Mapping Constraints Rule 9. Unique(x, R): For each attribute declared as UNIQUE we create a "unique" element with a selector to select the XPath of the element and a field to specify the attribute that must be unique. <xsd:unique name="uniquer"> <xsd:selector xpath="r"/> <xsd:field xpath="x"/> </xsd:unique> Rule 10. NotNull(x, R): If the attribute is declared as NOT NULL, we add use= required into the mapped attribute element. <xsd:attribute name="x" type="xsd:typeofx" use="required"/> Rule 11. For attributes with the special constraints Length, CHECK VALUES or CHECK IN we treat them as follows: To limit the length of a value in an attribute we can use the xsd:maxlength. <xsd:simpletype name="limitedstring"> <xsd:restriction base="xsd:string"> <xsd:maxlength value="100" /> </xsd:restriction> </xsd:simpletype> <!--So we declare the attribute as follows--> <xsd:attribute name="a" type="limitedstring" /> CHECK VALUE x: denotes all values that x can take. In this case we use the facets xsd:mininclusive, xsd:maxinclusive, xsd:minexclusive or xsd:maxexclusive. <xsd:element name="checkvalue"> <xsd:simpletype> <xsd:restriction base="xsd:integer"> <xsd:mininclusive value="0"/> <xsd:maxinclusive value="120"/> 288

5 </xsd:restriction> </xsd:simpletype> <!--So we declare the attribute as follows--> <xsd:attribute name="a" type="checkvalue " /> CHECK IN constraint on a column allows only certain values for this column: In this case we use the facet xsd:enumeration. <xsd:simpletype name="checkin"> <xsd:restriction base="xsd:string"> <xsd:enumeration value="a1"/> <xsd:enumeration value="a2"/> <xsd:enumeration value="an"/> </xsd:restriction> </xsd:simpletype> <!--So we declare the attribute as follows--> <xsd:attribute name="a" type="checkin" /> 3.4. Mapping Circular Relations Rule 12. SelfRefRelation(R): In this case we consider the SelfRefAttribute(R, x) as a normal attribute, we apply the relation mapping rules to convert R (rule 1-5) and we add the following element: <xsd: element name= R type="typer"/> For example, consider the following Relation "Author" with "NameChefProj" as foreign key referencing "NameAuthor" in the same relation "Author": Author(NameAuthor, TitlePaper, #NameChefProj) The corresponding transformation rule is: <xsd:element name="author" type="typeautor"/> <xsd:complextype name="typeautor"> <xsd:element name=" Author " type="xsd:string"/> </xsd:sequence> <!-- details of attributes in Author --> Rule 13. CyclicRel: In this case it is important, in this cyclic relation, to make at least one element (or a reference to an element) as optional. Otherwise an infinite loop will occur and an error will be thrown while validating the XML schema. For example, for a cyclic relationship (R1R2 R3R1) we get the following transformation: <xsd:element name="r1"> <xsd:element ref="r2" minoccurs="0"/> </xsd:sequence> <xsd:element name="r2"> <xsd:element ref="r3" minoccurs="0"/> </xsd:sequence> <xsd:element name="r3"> <xsd:element ref="r1" minoccurs="0" /> </xsd:sequence> 4. OUR METHODOLOGY FOR MAPPING Our approach aims to define a correspondence between the RDB and XML schema using a multidimensional array model (MA) to build the XML structure. Our approach consists of three separate phases, as shown in figure 1. The first phase extracts tables, fields, relationships and metadata (MTRDB) from the relational database using java database connectivity (JDBC) components. In the second phase a multidimensional array model is generated to facilitate the migration process. Once the MA model is created we apply our algorithm based on the list of rules to create the equivalent XML schema. 289

6 Figure 1: Relational Database Schema Overview 4.1. Extraction MetaData of RDB schema Our process starts by extracting the metadata from the relational database including fields and relations, by using Java Database Connectivity (JDBC) components. MTRDB = {R N, R Ref, R Refby, R Type, Nbr FK, Type, F} R N : The relation name R Ref : All relation referenced by R N R Refby : All relations that reference R N Nbr FK : Number of foreign key in R N Type: (PFK) if the primary key of R also acts as a foreign key, (SelfR) if R is a SelfRefRel and (Simple) else F: List of the fields of the relation RN F= {F N, F T, F Key, F U, F Null } F N : The field name F T : The field type F Key : (PK) if the field is a primary key, (FK) foreign key, (PFK) if act as both PK and FK or (CFK) if foreign key in a cyclic relation that references another field in the same cyclic relation F U : (Uq) for unique constraint F Null : (N) for Not null constraints 4.2. The multidimensional Array model of the RDB schema The next step of our mapping approach consists in generating the MA model based on classification of elements extracted from MTRDB to facilitate the migration process. MA model is a set of array elements that defines the list of relations taken from RDB schema with the necessary metadata for our mapping algorithm. To illustrate the MA model we will use the following examples of relational database schema. Underlined attributes represent primary keys. Attributes endowed with a "#" represent foreign keys. The first example is given without any circular relation (SelfRefRel or CyclicRel) and its equivalent MA model is represented in Table 1: Communication(idCom, CName) Country(idCountry, CountName) City(idCity, CityName, #idcountry) Company(idCompany, CompName, #idcity) University(idUniversity, UnivName) Author(idAuthor, name, #iduniversity, #idcity) Professor(#idProfessor, Grade) Address(idAddress, Address) PrivateAddress(#idPAddress, Type) Student(#idStudent, Age, #idaddress) Department(idDept, DeptName, #idchefdept) Paper(idPaper, PaperTitle, Year) WritePaper(#idPaper, #idauthor) 290

7 Table 1: Representation Of MA Model For Example 1 R N R Ref R RefBy NbrFK Type F N Fields F T F Key F U F Null Communication 0 Simple idcom Int PK U N CName VarChar N Country City 0 Simple idcountry Int PK U N CountName VarChar U N City Country Author 1 Simple idcity Int PK U N Company CityName VarChar N idcountry Int FK N Company City 1 Simple idcompany Int PK U N CompName VarChar N idcity Int FK N University Author 0 Simple iduniversity Int PK U N UnivName VarChar N Author City Department 2 Simple idauthor Int PK U N Professor Name VarChar N University Student iduniversity Int FK WritePaper idcity Int FK N Professor Author 0 PFK idprofessor Int PFK U N Grade VarChar Address Student 0 Simple idaddress Int PK U N PrivateAdress Address VarChar U N PrivateAdress Address 1 PFK idpaddress Int PFK U N Type VarChar N Student Address 2 PFK idstudent Int PFK U N Author Age Int N idaddress Int FK N Department Author 1 Simple iddept Int PK U N DeptName VarChar N idchefdept Int FK N Paper WritePaper 0 Simple idpaper Int PK U N PaperTitle VarChar Year Date WritePaper Author 2 PFK idpaper Int PFK N Paper idauthor Int PFK N In the second example we illustrate how to represent a SelfRefRel in MA model. Employee(idEmp, nameemp, Job, #Chef, #iddept) The attribute "Chef" is a foreign key that reference idemp in the same table. In this case we present "Chef" as a normal attribute and we put "SelfR" in the type Column of our MA model (Table 2). Table 2: Representation Of MA Model For Example 2 R N R Ref R RefBy NbrF Type Fields K F N F T F Key F U F Null Employee Departement Employee 1 SelfR idemployee Int PK U N nameemp VarChar N Job VarChar Chef Int iddept Int FK 291

8 Finally we illustrate a MA model representation for a CyclicRel example: City(idCity, NameCity, #idcountry) Country(idCountry, NameCountry, #iduniversity) University(idUniversity, NameUniversity, #idcity) To resolve and extract all cyclic relations in the database source we use the MappingCircularRelation() algorithm in our previous work done in [1]. This algorithm uses a recursive function to detect if there is any cyclic relation in RDB schema and produces a list of cyclic relations as output. We put "CFK" in FKey column for every foreign key in a cyclic relation that references another field in the same cyclic relation. Table 3: Representation Of MA Model For Cyclic Relationship Example R N R Ref R RefBy NbrFK Type Fields F N F T F Key F U F Null City Country University 1 Simple idcity Int PK U N NameCity VarChar idcountry Int CFK Country University City 1 Simple idcountry Int PK U N NameCountry VarChar iduniversity Int CFK University City Country 1 Simple iduniversity Int PK U N NameUniversity VarChar idcity Int CFK 4.3. Mapping Algorithm In this section, we present our algorithm for the automatic construction of XML schema from a relational database. This algorithm takes into consideration all the aforementioned conversion rules. Given a MA model as input, the algorithm captures all relations types in order to assemble the mapped XML schema into a reasonable tree pattern MapRelation() - Algorithm for mapping relations Input: The MA model Output: The corresponding XML schema Begin Step 1: Apply rule 1: Create the XML schema root element Step 2: For each R N (R) in MA model loop If (R RefBy (R) = null and Nbr FK (R) = 0) then Apply rule 2: create element as a child of the root element add R to MapRelationList MapAttribute of R End loop Step 3: For each R N (R) in MA model loop If (R RefBy (R)!= null and Nbr FK (R) = 0) then create element R as a child of the root element add R to MapRelationList MapAttribute of R Step 3-1: For each R N (R i ) in MA model loop // R i is a R RefBy (R) If (Nbr FK (R i ) = 1 and Type(R i ) = Simple) then 292

9 End loop Apply rule 3: create element R i as a child of R with minoccurs = 0 and maxoccurs = unbounded add R i to MapRelationList MapAttribute of Ri If (R RefBy (Ri )!= null) then Apply step 3-1 for all R RefBy (R i ) Else If ( Nbr FK (R i = 1 and Type(R i ) = PFK ) then Apply rule 4: create element R i as a child of R with minoccurs = 0 and maxoccurs = 1 add Ri to MapRelationList MapAttribute of R i If (R RefBy (R i )!= null) then Apply step 3-1 for all R RefBy (R i ) Else If(Nbr FK (R i ) = 1 and Type(R i ) = SelfR) then Apply rule 12 for self referenced relation MapAttribute of R i If (R RefBy (R i )!= null) then Apply step 3-1 for all R RefBy (R i ) Else if(nbr FK (R i ) > 1) then Add R i FKMoreThanOneList End if End loop Step 4: For each R in FKMoreThanOneList loop create element R as a child of the root element add R to MapRelationList MapAttribute of R For each R N (S i ) in MA model loop // S i is a R Ref (R) If(Type(S i ) =PFK) then Apply rule 5: create element R_ S i as a child of R with minoccurs = 1 and maxoccurs = 1 Else Apply rule 5: create element R_ S i as a child of R with minoccurs = 0 and maxoccurs = unbounded End loop For each R N (R i ) in MA model loop // R i is a R RefBy (R) Apply step 3-1 for all R RefBy (R i ) End loop End The algorithm used by "MapRelation()" for mapping attributes is as follows: 293

10 MapAttribute() - Algorithm for mapping attributes and constraints Input: Relation R Output: The corresponding XML schema Begin For each Fields in R loop If (F Null = N) then Apply rule 10: Create attribute with use="required" Else Apply rule 6: Create a normal attribute If (F Key = PK) then Apply rule 7: add a xsd:key element Else if (F Key = FK) then Apply rule 8: add a xsd:keyref element Else if (F Key =CFK) then Apply rule 13 for a cyclic relation If (F U = U) then Apply rule 9: add a xsd:unique element End 4.4. Implementation and validation To demonstrate the effectiveness and validity of our approach a tool has been developed (figure 2 & 3). This tool takes as input an RDB, then extracts its MTRDB, creates the corresponding MA model and applies our algorithm to create the resulting XML schema document. To develop our prototype, we used Java as a programming language, and to store the data and metadata we used Mysql DBMS which contains system tables that define the structure of the database (including names of tables, columns, constraints...). Our implementation can however also work with any other relational database system. We used the JDBC-API to establish the connection with the database. This API allows full access to relational database metadata and quickly retrieves a description of the tables and constraints of the database from data dictionaries. For the example of a relational database schema considered above Fig. 2 and Fig. 3 at the end of the paper show the obtained XML schema and the conversion of the cyclic relationship of Table

11 Figure 2: Mapping result of RDB schema Figure 3: Mapping result of cyclic relation 295

12 5. CONCLUSION In this paper, we have presented a new mapping process for converting relational database schema into XML schema. This process handles the mapping of the static and semantic constraints based on a well chosen categorization of the relations in the starting relational database. This categorization takes into accounts various aspects with respect to the referential integrity properties and to the various constraints on attributes. The mapping process first extracts the metadata from the RDB source, then a multidimensional array model (MA model) is generated automatically to capture the categorization structural designs and comes up with a complete and well structured hierarchical XML schema reflects all details in the initial relational database schema. The results obtained from our implementation prove the accuracy and performance of our mapping strategy. REFRENCES: [1] L. Alaoui, O. EL Hajjamy, and M. Bahaj, RDB2OWL2: Schema and Data Conversion from RDB into OWL2, International Journal of Engineering Research & Technology (IJERT), vol. 3, Issue. 11, November 2014 [2] L. Alaoui, O. EL Hajjamy, and M. Bahaj, "Automatic Mapping of Relational Databases to OWL Antology," Int. J. Engineering & Research Technology IJERT, Vol. 3, Issue 4 (April, 2014) [3] C. Baru, XViews: XML Views of Relational Schemas. In Proceedings of DEXA Workshop, 1999, pp [4] M. Carey, J. Kiernan, J. Shanmugasundaram, E. Shekita, and S. Subramanian, XPERANTO: Middleware for Publishing Object-Relational Data as XML Documents. In Proceedings of VLDB, 2000, pp [5] A. Duta, K. Barker, and R. Alhajj, "Converting relationships to XML nested structures"journal of information and organizational sciences, Volume 28, Numberl- 2 (2004) [6] M. Fernandez, W. Tan and D. Suciu, SilkRoute, Trading between Relations and XML, Computer Networks, Vol. 33 (Elsevier Science, 2000), pp [7] J. Fong, S. K. Cheung, "Translating relational schema into XML schema definition with data semantic preservation and XSD graph" Information and Software Technology, Volume 47, Issue 7, 15 May 2005, Pages [8] J. Fong, H.K. Wong, Z. Cheng, "Converting relational database into XML documents with DOM" Information and Software Technology, Volume 45, Issue 6, 15 April 2003, Pages [9] J. Kim, D. Jeong, and D. K. Baik, A Translation Algorithm for Effective RDB-to-XML Schema Conversion Considering Referential Integrity Information, Journal of Information Science and Engineering 25, , 2009 [10] J. Kim, D. Jeong, and D. K. Baik, An algorithm for automatic inference of referential integrities during translation from relational database to XML schema, in Proceedings of the International Conference on Computational Intelligence and Security, LNCS 3802, 2005, pp [11] C. Kleiner and U. Lipeck, Automatic generation of XML DTDs from conceptual database schemas, GI Jahrestagung (1) 2001, pp [12] D. Lee, M. Mani, F. Chiu, W. W. Chu, Schema conversion methods between XML and relational models in Knowledge Transformation for the Semantic Web, pp (2003) [13] D. Lee, M. Mani, F. Chiu, W. W. Chu, Net & cot: translating relational schemas to XML schemas using semantic constraints in CIKM CIKM 02, November 4 9, 2002, McLean, Virginia, USA (2002) [14] D. Lee, M. Mani, F. Chiu, and W. Chu, Nesting-Based Relational-to-XML Schema Translation. In Proceedings of the WebDB, 2001, pp [15] C. Liu, M. Vincent, J. Liu, and M. Guo, A Virtual XML Database Engine for Relational Databases. In Proceedings of XSYM, 2003, pp [16] Ch. Liu, W. Vincent and J. Liu, "Constraint Preserving Transformation from Relational Schema to XML Schema", World Wide Web: Internet and Web Information Systems, 9, , 2006 [17] T. Lv, P. Yan, Schema Conversion from Relation to XML with Semantic Constraints, Fourth International Conference on Fuzzy Systems and Knowledge Discovery, FSKD (Vol. 4), pp [18] J. Shanmugasundaram, J. Kiernan, E. Shekita, C. Fan, and J. Funderburk, Querying XML Views of Relational Data. In Proceedings of VLDB, 2001, pp

13 [19] J. Shanmugasundaram, E. Shekita, R. Barr, M. Carey, B. Lindsay, H. Pira-hesh, and B. Reinwald, Efficiently Publishing Relational Data as XML Documents. In Proceedings of VLDB, 2000, pp [20] V. Turau, A framework for automatic generation of web-based data entry applications based on XML, in Proceedings of ACM Symposium on Applied Computing, 2002, pp [21] C.Wang, A. Lo, R. Alhajj, K. Barker, Reverse engineering based approach for transferring lagacy relational databases into xml in Proceedings of the 6th International Conference on Enterprise lnformation Systems, lceis2004, Porto, Portugal, April 4-17, 2004 [22] R. Zhou, Ch. Liu, and J. Li, "Holistic Constraint-Preserving Transformation from Relational Schema into XML Schema", DASFAA 2008, LNCS 4947, pp. 4 18,

Swinburne Research Bank

Swinburne Research Bank Swinburne Research Bank http://researchbank.swinburne.edu.au Liu, C., Vincent, M. W., & Liu, J. (2006). Constraint preserving transformation from relational schema to XML schema. Originally published in

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1 Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.

More information

Query Pattern-based Relational Data to XML Data Translation Algorithm

Query Pattern-based Relational Data to XML Data Translation Algorithm Journal of Computer Science 3 (4): 212-217, 2007 ISSN 1549-3636 2007 Science Publications Query Pattern-based Relational Data to XML Data Translation Algorithm Corresponding Author: 1 Jinhyung Kim, 2 Dongwon

More information

Query Pattern-based Relational Data to XML Data Translation Algorithm

Query Pattern-based Relational Data to XML Data Translation Algorithm Journal of Computer Science 3 (4): 212-217, 2007 ISSN 1549-3636 2007 Science Publications Query Pattern-based Relational Data to XML Data Translation Algorithm Corresponding Author: 1 Jinhyung Kim, 2 Dongwon

More information

Generating of RDF graph from a relational database using Jena API

Generating of RDF graph from a relational database using Jena API Generating of RDF graph from a relational database using Jena API Jamal BAKKAS #1, Mohamed BAHAJ #2 # Department of Mathematics and computer science, University Hassan I, FSTS FST Settat, Km 3, B.P.:57,

More information

Sticky and Proximity XML Schema Files

Sticky and Proximity XML Schema Files APPENDIX B Sticky and Proximity XML Schema Files This appendix describes how you can use the two XML schema files, included with the GSS, to describe and validate the sticky XML and proximity XML output

More information

UNIT 3 XML DATABASES

UNIT 3 XML DATABASES UNIT 3 XML DATABASES XML Databases: XML Data Model DTD - XML Schema - XML Querying Web Databases JDBC Information Retrieval Data Warehousing Data Mining. 3.1. XML Databases: XML Data Model The common method

More information

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name EXAM IN SEMI-STRUCTURED DATA 184.705 12. 01. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will

More information

Chapter 13 XML: Extensible Markup Language

Chapter 13 XML: Extensible Markup Language Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server

More information

Semantic enrichment of XML schema to TRANSFORM ASSOCIATION relationships in ODL schema

Semantic enrichment of XML schema to TRANSFORM ASSOCIATION relationships in ODL schema Semantic enrichment of XML schema to TRANSFORM ASSOCIATION relationships in ODL schema Doha Malki 1, Mohamed Bahaj 2 1 Department of Mathematics and Computer Science, University Hassan 1st, Settat, Morocco

More information

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name EXAM IN SEMI-STRUCTURED DATA 184.705 28. 10. 2016 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will

More information

Overview. Introduction to XML Schemas. Tutorial XML Europe , Berlin. 1 Introduction. 2 Concepts. 3 Schema Languages.

Overview. Introduction to XML Schemas. Tutorial XML Europe , Berlin. 1 Introduction. 2 Concepts. 3 Schema Languages. Introduction to XML Schemas Tutorial XML Europe 2001 21.5.2001, Berlin Ulrike Schäfer. www.infotakt.de. slide 1 Overview 1 Introduction q Why are Schemas? 2 Concepts q What are schemas? 3 Schema Languages

More information

MIGRATION OF A RELATIONAL DATABASE RDB TO AN OBJECT ORIENTED DATABASE OODB

MIGRATION OF A RELATIONAL DATABASE RDB TO AN OBJECT ORIENTED DATABASE OODB MIGRATION OF A RELATIONAL DATABASE RDB TO AN OBJECT ORIENTED DATABASE OODB 1 ALAE EL ALAMI, 2 MOHAMED BAHAJ, 3 ILIAS CHERTI 1, 2,3 Hassan 1 University, FST Settat LAB LITEN 1 elalamialae@gmail.com, 2 mohamedbahaj@gmail.com,

More information

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr. COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for

More information

RDB2OWL2: Schema and Data Conversion from RDB into OWL2

RDB2OWL2: Schema and Data Conversion from RDB into OWL2 RDB2OWL2: Schema and Data Conversion from RDB into OWL2 Larbi Alaoui International University of Rabat 11100 Sala Al Jadida, Morocco Oussama El Hajjamy, Mohamed Bahaj Department of Mathematics and Informatics

More information

International Journal of Software and Web Sciences (IJSWS)

International Journal of Software and Web Sciences (IJSWS) International Association of Scientific Innovation and Research (IASIR) (An Association Unifying the Sciences, Engineering, and Applied Research) ISSN (Print): 2279-0063 ISSN (Online): 2279-0071 International

More information

HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best

HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best 1 2 HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the element and generally do their best when dealing with badly placed HTML elements. The

More information

HR-XML Schema Extension Recommendation, 2003 February 26

HR-XML Schema Extension Recommendation, 2003 February 26 HR-XML Schema Extension Recommendation, 2003 February 26 This version: HRXMLExtension.doc Previous version: HRXMLExtension-1_0.doc Editor: Paul Kiel, HR-XML, paul@hr-xml.org Authors: Paul Kiel, HR-XML,

More information

XML and Content Management

XML and Content Management XML and Content Management Lecture 3: Modelling XML Documents: XML Schema Maciej Ogrodniczuk, Patryk Czarnik MIMUW, Oct 18, 2010 Lecture 3: XML Schema XML and Content Management 1 DTD example (recall)

More information

Conceptual Modeling for Customized XML Schemas

Conceptual Modeling for Customized XML Schemas Conceptual Modeling for Customized XML Schemas Ramez Elmasri, Yu-Chi Wu, Babak Hojabri, Charley Li, and Jack Fu Department of Computer Science and Engineering The University of Texas at Arlington P.O.

More information

Automating Conceptual Design of Web Warehouses

Automating Conceptual Design of Web Warehouses Automating Conceptual Design of Web Warehouses Boris Vrdoljak, Marko Banek FER University of Zagreb Zagreb, Croatia Stefano Rizzi DEIS - University of Bologna Bologna, Italy Abstract Web warehousing plays

More information

XML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007.

XML DTDs and Namespaces. CS174 Chris Pollett Oct 3, 2007. XML DTDs and Namespaces CS174 Chris Pollett Oct 3, 2007. Outline Internal versus External DTDs Namespaces XML Schemas Internal versus External DTDs There are two ways to associate a DTD with an XML document:

More information

Information Systems. DTD and XML Schema. Nikolaj Popov

Information Systems. DTD and XML Schema. Nikolaj Popov Information Systems DTD and XML Schema Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline DTDs Document Type Declarations

More information

Dr. Awad Khalil. Computer Science & Engineering department

Dr. Awad Khalil. Computer Science & Engineering department Dr. Awad Khalil Computer Science & Engineering department Outline Introduction Structured Data Semi-structured Data Unstructured data XML Hierarchical (Tree) Data Model XML Document Types XML DTD (Document

More information

CountryData Technologies for Data Exchange. Introduction to XML

CountryData Technologies for Data Exchange. Introduction to XML CountryData Technologies for Data Exchange Introduction to XML What is XML? EXtensible Markup Language Format is similar to HTML, but XML deals with data structures, while HTML is about presentation Open

More information

Gestão e Tratamento de Informação

Gestão e Tratamento de Informação Departamento de Engenharia Informática 2013/2014 Gestão e Tratamento de Informação 1st Project Deadline at 25 Oct. 2013 :: Online submission at IST/Fénix The SIGMOD Record 1 journal is a quarterly publication

More information

XML (4) Extensible Markup Language

XML (4) Extensible Markup Language XML (4) Extensible Markup Language Acknowledgements and copyrights: these slides are a result of combination of notes and slides with contributions from: Michael Kiffer, Arthur Bernstein, Philip Lewis,

More information

[MS-WORDLFF]: Word (.xml) Co-Authoring File Format in Document Lock Persistence Structure

[MS-WORDLFF]: Word (.xml) Co-Authoring File Format in Document Lock Persistence Structure [MS-WORDLFF]: Word (.xml) Co-Authoring File Format in Document Lock Persistence Structure Intellectual Property Rights Notice for Open Specifications Documentation Technical Documentation. Microsoft publishes

More information

Migration of the Relational Data Base (RDB) to the Object Relational Data Base (ORDB)

Migration of the Relational Data Base (RDB) to the Object Relational Data Base (ORDB) Migration of the Relational Data Base (RDB) to the Object Relational Data Base (ORDB) Alae El Alami, Mohamed Bahaj Abstract This paper proposes an approach for translating an existing relational database

More information

Part 2: XML and Data Management Chapter 6: Overview of XML

Part 2: XML and Data Management Chapter 6: Overview of XML Part 2: XML and Data Management Chapter 6: Overview of XML Prof. Dr. Stefan Böttcher 6. Overview of the XML standards: XML, DTD, XML Schema 7. Navigation in XML documents: XML axes, DOM, SAX, XPath, Tree

More information

CS/INFO 330: Applied Database Systems

CS/INFO 330: Applied Database Systems CS/INFO 330: Applied Database Systems XML Schema Johannes Gehrke October 31, 2005 Annoucements Design document due on Friday Updated slides are on the website This week: Today: XMLSchema Wednesday: Introduction

More information

An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry

An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry I-Chen Wu 1 and Shang-Hsien Hsieh 2 Department of Civil Engineering, National Taiwan

More information

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data.

The DBMS accepts requests for data from the application program and instructs the operating system to transfer the appropriate data. Managing Data Data storage tool must provide the following features: Data definition (data structuring) Data entry (to add new data) Data editing (to change existing data) Querying (a means of extracting

More information

1. Information Systems for Design Support

1. Information Systems for Design Support Published as: van Leeuwen, J.P., and A.J. Jessurun. 2001. Added Value of XML for CAAD. In: Proceedings of AVOCAAD 2001, Brussels, Belgium, April 5-7, 2001. ADDED VALUE OF XML FOR CAAD J.P. VAN LEEUWEN

More information

Using Relational Database metadata to generate enhanced XML structure and document Abstract 1. Introduction

Using Relational Database metadata to generate enhanced XML structure and document Abstract 1. Introduction Using Relational Database metadata to generate enhanced XML structure and document Sherif Sakr - Mokhtar Boshra Faculty of Computers and Information Cairo University {sakr,mboshra}@cu.edu.eg Abstract Relational

More information

XML Schema Profile Definition

XML Schema Profile Definition XML Schema Profile Definition Authors: Nicholas Routledge, Andrew Goodchild, Linda Bird, DSTC Email: andrewg@dstc.edu.au, bird@dstc.edu.au This document contains the following topics: Topic Page Introduction

More information

CA Data Protection. Account Import XML Schema Guide. Release 15.0

CA Data Protection. Account Import XML Schema Guide. Release 15.0 CA Data Protection Account Import XML Schema Guide Release 15.0 This Documentation, which includes embedded help systems and electronically distributed materials (hereinafter referred to as the Documentation

More information

Creating Coverage Zone Files

Creating Coverage Zone Files APPENDIXC The following sections describe the Coverage Zone file elements and provide several Coverage Zone file examples: Coverage Zone File Elements, page C-1 Zero-IP Based Configuration, page C-2 Coverage

More information

NEW TECHNIQUE FOR DUPLICATION THE REMOTE DATABASES BASED ON MULTI-AGENTS

NEW TECHNIQUE FOR DUPLICATION THE REMOTE DATABASES BASED ON MULTI-AGENTS NEW TECHNIQUE FOR DUPLICATION THE REMOTE DATABASES BASED ON MULTI-AGENTS 1 NOREDDINE GHERABI Department of Electrical and Computer Engineering National School of Applied Sciences, Fes, Morocco E-mail :

More information

DESIGN AND IMPLEMENTATION OF TOOL FOR CONVERTING A RELATIONAL DATABASE INTO AN XML DOCUMENT: A REVIEW

DESIGN AND IMPLEMENTATION OF TOOL FOR CONVERTING A RELATIONAL DATABASE INTO AN XML DOCUMENT: A REVIEW DESIGN AND IMPLEMENTATION OF TOOL FOR CONVERTING A RELATIONAL DATABASE INTO AN XML DOCUMENT: A REVIEW Sunayana Kohli Masters of Technology, Department of Computer Science, Manav Rachna College of Engineering,

More information

Cisco Unified IP Phone Services XML Schema File

Cisco Unified IP Phone Services XML Schema File APPENDIXB Cisco Unified IP Phone Services XML Schema File These sections provide details about the XML schema supported on Cisco Unified IP Phones: Updated XML Parser and Schema Enforcement CiscoIPPhone.xsd

More information

The main problem of DTD s...

The main problem of DTD s... The main problem of DTD s... They are not written in XML! Solution: Another XML-based standard: XML Schema For more info see: http://www.w3.org/xml/schema XML Schema (W3C) Thanks to Jussi Pohjolainen TAMK

More information

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.

More information

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical

Week. Lecture Topic day (including assignment/test) 1 st 1 st Introduction to Module 1 st. Practical Name of faculty: Gaurav Gambhir Discipline: Computer Science Semester: 6 th Subject: CSE 304 N - Essentials of Information Technology Lesson Plan Duration: 15 Weeks (from January, 2018 to April, 2018)

More information

XML - Schema. Mario Arrigoni Neri

XML - Schema. Mario Arrigoni Neri XML - Schema Mario Arrigoni Neri 1 Well formed XML and valid XML Well formation is a purely syntactic property Proper tag nesting, unique root, etc.. Validation is more semantic, because it must take into

More information

Session [2] Information Modeling with XSD and DTD

Session [2] Information Modeling with XSD and DTD Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk

More information

Cisco Unified IP Phone Services XML Schema File

Cisco Unified IP Phone Services XML Schema File APPENDIXB Cisco Unified IP Phone Services XML Schema File These sections provide details about the XML schema supported on Cisco Unified IP Phones: Updated XML Parser and Schema Enforcement CiscoIPPhone.xsd

More information

asexml SCHEMA CHANGE REQUEST

asexml SCHEMA CHANGE REQUEST asexml SCHEMA CHANGE REQUEST PREPARED BY: DOCUMENT REF: SCOTT MASKIEL CR55 VERSION: 1.5 DATE: 5 DECEMBER 2013 DRAFT/FINAL DRAFT Am,ttolion l:nergy 1\_.n,ketOperctor Ltd AeN 94 on Ol'J 327 Wv'IW.oemo.oom.ou

More information

An alternative approach to store electronic data: the role of XML

An alternative approach to store electronic data: the role of XML An alternative approach to store electronic data: the role of XML Leuven 2003 FOR $l IN document( wwwestvipvpt/biblioteca/bdbiblioxml ) //livro WHERE $l/editora/nome = FCA AND $l/ano > 1995 RETURN $l/autor

More information

Aggregation Transformation of XML Schemas to Object-Relational Databases

Aggregation Transformation of XML Schemas to Object-Relational Databases Aggregation Transformation of XML Schemas to Object-Relational Databases Nathalia Devina Widjaya 1, David Taniar 1, and J. Wenny Rahayu 2 1 Monash University, School of Business Systems, Vic 3800, Australia

More information

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name EXAM IN SEMI-STRUCTURED DATA 184.705 23. 10. 2015 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will

More information

Chapter 1 SQL and Data

Chapter 1 SQL and Data Chapter 1 SQL and Data What is SQL? Structured Query Language An industry-standard language used to access & manipulate data stored in a relational database E. F. Codd, 1970 s IBM 2 What is Oracle? A relational

More information

DTD MIGRATION TO W3C SCHEMA

DTD MIGRATION TO W3C SCHEMA Chapter 1 Schema Introduction The XML technical specification identified a standard for writing a schema (i.e., an information model) for XML called a document type definition (DTD). 1 DTDs were a carryover

More information

Extending E-R for Modelling XML Keys

Extending E-R for Modelling XML Keys Extending E-R for Modelling XML Keys Martin Necasky Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic martin.necasky@mff.cuni.cz Jaroslav Pokorny Faculty of Mathematics and

More information

ENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) IMPLEMENTATION GUIDE

ENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) IMPLEMENTATION GUIDE 1 ENTSO-E ACKNOWLEDGEMENT DOCUMENT (EAD) 2014-01-16 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 Table of Contents 1 OBJECTIVE... 5 2 THE ACKNOWLEDGEMENT

More information

ERRDS: A CASE TOOL TO GENERATE AN ER DATA MODEL FROM A RELATIONAL DATABASE SCHEMA

ERRDS: A CASE TOOL TO GENERATE AN ER DATA MODEL FROM A RELATIONAL DATABASE SCHEMA ERRDS: A CASE TOOL TO GENERATE AN ER DATA MODEL FROM A RELATIONAL DATABASE SCHEMA NABIL ARMAN Palestine Polytechnic University Hebron, Palestine Abstract: A relational database (RDB) schema is a description

More information

XML. XML Namespaces, XML Schema, XSLT

XML. XML Namespaces, XML Schema, XSLT XML XML Namespaces, XML Schema, XSLT Contents XML Namespaces... 2 Namespace Prefixes and Declaration... 3 Multiple Namespace Declarations... 4 Declaring Namespaces in the Root Element... 5 Default Namespaces...

More information

Knowledge Engineering pt. School of Industrial and Information Engineering. Test 2 24 th July Part II. Family name.

Knowledge Engineering pt. School of Industrial and Information Engineering. Test 2 24 th July Part II. Family name. School of Industrial and Information Engineering Knowledge Engineering 2012 13 Test 2 24 th July 2013 Part II Family name Given name(s) ID 3 6 pt. Consider the XML language defined by the following schema:

More information

Module 3. XML Schema

Module 3. XML Schema Module 3 XML Schema 1 Recapitulation (Module 2) XML as inheriting from the Web history SGML, HTML, XHTML, XML XML key concepts Documents, elements, attributes, text Order, nested structure, textual information

More information

!" DTDs rely on a mechanism based on the use of. !" It is intended to specify cross references" !" Reference to a figure, chapter, section, etc.!

! DTDs rely on a mechanism based on the use of. ! It is intended to specify cross references ! Reference to a figure, chapter, section, etc.! MULTIMEDIA DOCUMENTS! XML Schema (Part 2)"!" DTDs rely on a mechanism based on the use of attributes (ID et IDREF) to specify links into documents"!" It is intended to specify cross references"!" Reference

More information

Analysis and Metrics of XML Schema

Analysis and Metrics of XML Schema Analysis and Metrics of XML Schema Andrew McDowell University of Houston- Clear Lake andrew@rendai.com Chris Schmidt University of Houston- Clear Lake chris@rendai.com Kwok-Bun Yue University of Houston-

More information

XML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS

XML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS XML FOR FLEXIBILITY AND EXTENSIBILITY OF DESIGN INFORMATION MODELS JOS P. VAN LEEUWEN AND A.J. JESSURUN Eindhoven University of Technology, The Netherlands Faculty of Building and Architecture, Design

More information

XML/Relational mapping Introduction of the Main Challenges

XML/Relational mapping Introduction of the Main Challenges HELSINKI UNIVERSITY OF TECHNOLOGY November 30, 2004 Telecommunications Software and Multimedia Laboratory T-111.590 Research Seminar on Digital Media (2-5 cr.): Autumn 2004: Web Service Technologies XML/Relational

More information

Software User Manual

Software User Manual Software User Manual for A lightweight and modular expert system shell for the usage in decision support system Version 1.7 Revision history Version Date Description Author 1.0 29.04.2011 Initial revision

More information

SuccessMaker Data Services API Guide

SuccessMaker Data Services API Guide SuccessMaker 7.0.1 Data Services API Guide Document last updated August 2014 Copyright 2011 2014 Pearson Education, Inc. or one or more of its direct or indirect affiliates. All rights reserved. Pearson

More information

Conceptual modeling for customized XML schemas

Conceptual modeling for customized XML schemas Data & Knowledge Engineering 54 (2005) 57 76 www.elsevier.com/locate/datak Conceptual modeling for customized XML schemas Ramez Elmasri *, Qing Li, Jack Fu, Yu-Chi Wu, Babak Hojabri, Swathi Ande Department

More information

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010

CS403- Database Management Systems Solved MCQS From Midterm Papers. CS403- Database Management Systems MIDTERM EXAMINATION - Spring 2010 CS403- Database Management Systems Solved MCQS From Midterm Papers April 29,2012 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS403- Database Management Systems MIDTERM EXAMINATION - Spring

More information

Chapter 12 Object and Object Relational Databases

Chapter 12 Object and Object Relational Databases Chapter 12 Object and Object Relational Databases - Relational Data Model - Object data model (OODBs) - Object-relational data models Traditional data models -network - hierarchical - relational They lack

More information

A Methodology for Integrating XML Data into Data Warehouses

A Methodology for Integrating XML Data into Data Warehouses A Methodology for Integrating XML Data into Data Warehouses Boris Vrdoljak, Marko Banek, Zoran Skočir University of Zagreb Faculty of Electrical Engineering and Computing Address: Unska 3, HR-10000 Zagreb,

More information

358 cardinality 18, 55-57, 62, 65, 71, 75-76, 85, 87, 99, 122, 129, , 140, 257, , , 295, categorization 18, 26, 56, 71, 7

358 cardinality 18, 55-57, 62, 65, 71, 75-76, 85, 87, 99, 122, 129, , 140, 257, , , 295, categorization 18, 26, 56, 71, 7 4GL 6 access path 8, 24, 35, 38, 88, 99-110, 114, 170, 176, 199, 203-204, 208 active class 270, 317, 323-324, 326, 337 database 315, 321 generalization 322-324 rule 317, 320-321 ADABAS 16 aggregation 18,

More information

CHAPTER 8. XML Schemas

CHAPTER 8. XML Schemas 429ch08 1/11/02 1:20 PM Page 291 CHAPTER 8 XML Schemas MOST OF US WHO ARE INVOLVED in XML development are all too familiar with using Document Type Definition (DTD) to enforce the structure of XML documents.

More information

Data about data is database Select correct option: True False Partially True None of the Above

Data about data is database Select correct option: True False Partially True None of the Above Within a table, each primary key value. is a minimal super key is always the first field in each table must be numeric must be unique Foreign Key is A field in a table that matches a key field in another

More information

XML Schema Design Rules and Conventions (DRC) Interim Update For the Exchange Network

XML Schema Design Rules and Conventions (DRC) Interim Update For the Exchange Network XML Schema Design Rules and Conventions (DRC) Interim Update For the Exchange Network Version: 1.1 DEPRECATED Revision Date: 04/06/2006 APRIL 6, 2006 PREPARED BY WINDSOR SOLUTIONS, INC ACKNOWLEDGEMENTS

More information

Schema Release. AseXML Schema Working Group Release r25

Schema Release. AseXML Schema Working Group Release r25 Schema Release AseXML Schema Working Group Release r25 Draft Release Date: 20/02/2009 Final Release Date: 27/3/2009 Last updated on 2 November, 2009 Page 1 of 15 Document History Version Date Authors Comments

More information

CMS Note Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland

CMS Note Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland CMS NOTE 2003/xx The Compact Muon Solenoid Experiment CMS Note Mailing address: CMS CERN, CH-1211 GENEVA 23, Switzerland 2003-07-03 Migration of the XML Detector Description Data and Schema to a Relational

More information

A Semi-Automatic Ontology Extension Method for Semantic Web Services

A Semi-Automatic Ontology Extension Method for Semantic Web Services University of Jordan From the SelectedWorks of Dr. Mutaz M. Al-Debei 2011 A Semi-Automatic Ontology Extension Method for Semantic Web Services Mutaz M. Al-Debei Mohammad Mourhaf Al Asswad Available at:

More information

WHITE PAPER. Query XML Data Directly from SQL Server Abstract. DilMad Enterprises, Inc. Whitepaper Page 1 of 32

WHITE PAPER. Query XML Data Directly from SQL Server Abstract. DilMad Enterprises, Inc. Whitepaper Page 1 of 32 WHITE PAPER Query XML Data Directly from SQL Server 2000 By: Travis Vandersypen, President of DilMad Enterprises, Inc. Abstract XML is quickly becoming the preferred method of passing information, not

More information

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language 7.1 Introduction - SGML is a meta-markup language - Developed in the early 1980s; ISO std. In 1986 - HTML was developed using SGML in the early 1990s - specifically for Web documents - Two problems with

More information

Creation of the adaptive graphic Web interfaces for input and editing data for the heterogeneous information systems on the bases of XML technology

Creation of the adaptive graphic Web interfaces for input and editing data for the heterogeneous information systems on the bases of XML technology Creation of the adaptive graphic Web interfaces for input and editing data for the heterogeneous information systems on the bases of XML technology A. Mukhitova and O. Zhizhimov Novosibirsk State University,

More information

Data Services API Guide SuccessMaker 10

Data Services API Guide SuccessMaker 10 Document last updated July 26, 2017 Copyright 2017 Pearson Education, Inc. or one or more of its direct or indirect affiliates. All rights reserved. Pearson and SuccessMaker are registered trademarks,

More information

Evolution of XML Applications

Evolution of XML Applications Evolution of XML Applications University of Technology Sydney, Australia Irena Mlynkova 9.11. 2011 XML and Web Engineering Research Group Department of Software Engineering Faculty of Mathematics and Physics

More information

Data Services API Guide SuccessMaker 9

Data Services API Guide SuccessMaker 9 Document last updated September 22, 2016 Copyright 2016 Pearson Education, Inc. or one or more of its direct or indirect affiliates. All rights reserved. Pearson and SuccessMaker are registered trademarks,

More information

Updating Relational Databases through XML Views

Updating Relational Databases through XML Views Updating Relational Databases through XML Views Vanessa de Paula Braganholo Advisor: Carlos A. Heuser Universidade Federal do Rio Grande do Sul - UFRGS Instituto de Informática e-mail: {vanessa,heuser}@inf.ufrgs.br

More information

Collaboration System using Agent based on MRA in Cloud

Collaboration System using Agent based on MRA in Cloud Collaboration System using Agent based on MRA in Cloud Jong-Sub Lee*, Seok-Jae Moon** *Department of Information & Communication System, Semyeong University, Jecheon, Korea. ** Ingenium college of liberal

More information

Internet Engineering Task Force. Intended status: Informational July 08, 2013 Expires: January 09, 2014

Internet Engineering Task Force. Intended status: Informational July 08, 2013 Expires: January 09, 2014 Internet Engineering Task Force E. Haleplidis Internet-Draft University of Patras Intended status: Informational July 08, 2013 Expires: January 09, 2014 Abstract ForCES Model Extension draft-haleplidis-forces-model-extension-04

More information

Schema-based query optimization for XQuery queries

Schema-based query optimization for XQuery queries Schema-based query optimization for XQuery queries Sven Groppe, Stefan Böttcher University of Paderborn, Faculty 5, Fürstenallee 11, D-33102 Paderborn, Germany {sg, stb}@uni-paderborn.de Abstract. XQuery

More information

A Dynamic Exchange Language layer for RUBE

A Dynamic Exchange Language layer for RUBE A Dynamic Exchange Language layer for RUBE Jinho Lee a and Paul Fishwick a a Department of Computer and Information Science Engineering, University of Florida Gainesville, Florida, USA ABSTRACT There exist

More information

Chapter 3 Brief Overview of XML

Chapter 3 Brief Overview of XML Slide 3.1 Web Serv vices: Princ ciples & Te echno ology Chapter 3 Brief Overview of XML Mike P. Papazoglou & mikep@uvt.nl Slide 3.2 Topics XML document structure XML schemas reuse Document navigation and

More information

A namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix="uri".

A namespace prefix is defined with a xmlns attribute using the syntax xmlns:prefix=uri. Question 1 XML Syntax and Basics (a) What are 'namespaces' used for in relation to XML and how are they applied to an XML document?(2 marks) Namespaces are used to avoid element name conflicts when using/mixing

More information

Relational Database Systems Part 01. Karine Reis Ferreira

Relational Database Systems Part 01. Karine Reis Ferreira Relational Database Systems Part 01 Karine Reis Ferreira karine@dpi.inpe.br Aula da disciplina Computação Aplicada I (CAP 241) 2016 Database System Database: is a collection of related data. represents

More information

System-independent and quality tested availability of railway data across country and system borders by the model driven approach

System-independent and quality tested availability of railway data across country and system borders by the model driven approach Computers in Railways X 329 System-independent and quality tested availability of railway data across country and system borders by the model driven approach H. R. Gnägi 1 & N. Stahel 2 1 ETH Zurich, Institute

More information

High-level Operations for Changing Temporal Schema, Conventional Schema and Annotations, in the τxschema Framework

High-level Operations for Changing Temporal Schema, Conventional Schema and Annotations, in the τxschema Framework High-level Operations for Changing Temporal Schema, Conventional Schema and Annotations, in the τxschema Framework Zouhaier Brahmia, Fabio Grandi, Barbara Oliboni, Rafik Bouaziz January 15, 2014 TR-96

More information

Semistructured Data Store Mapping with XML and Its Reconstruction

Semistructured Data Store Mapping with XML and Its Reconstruction Semistructured Data Store Mapping with XML and Its Reconstruction Enhong CHEN 1 Gongqing WU 1 Gabriela Lindemann 2 Mirjam Minor 2 1 Department of Computer Science University of Science and Technology of

More information

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name

EXAM IN SEMI-STRUCTURED DATA Study Code Student Id Family Name First Name EXAM IN SEMI-STRUCTURED DATA 184.705 10. 01. 2017 Study Code Student Id Family Name First Name Working time: 100 minutes. Exercises have to be solved on this exam sheet; Additional slips of paper will

More information

Enterprise Knowledge Platform

Enterprise Knowledge Platform Enterprise Knowledge Platform Training History Import/Export Document Information Document ID: EN145 Document title: EKP Training History Import/Export Version: 1.7 Document date: 14 April 2009 This document

More information

Relational Database Components

Relational Database Components Relational Database Components Chapter 2 Class 01: Relational Database Components 1 Class 01: Relational Database Components 2 Conceptual Database Design Components Class 01: Relational Database Components

More information

More XML Schemas, XSLT, Intro to PHP. CS174 Chris Pollett Oct 15, 2007.

More XML Schemas, XSLT, Intro to PHP. CS174 Chris Pollett Oct 15, 2007. More XML Schemas, XSLT, Intro to PHP CS174 Chris Pollett Oct 15, 2007. Outline XML Schemas XSLT PHP Overview of data types There are two categories of data types in XML Schemas: simple types -- which are

More information

Open Access The Three-dimensional Coding Based on the Cone for XML Under Weaving Multi-documents

Open Access The Three-dimensional Coding Based on the Cone for XML Under Weaving Multi-documents Send Orders for Reprints to reprints@benthamscience.ae 676 The Open Automation and Control Systems Journal, 2014, 6, 676-683 Open Access The Three-dimensional Coding Based on the Cone for XML Under Weaving

More information

Relational Model. Courses B0B36DBS, A4B33DS, A7B36DBS: Database Systems. Lecture 02: Martin Svoboda

Relational Model. Courses B0B36DBS, A4B33DS, A7B36DBS: Database Systems. Lecture 02: Martin Svoboda Courses B0B36DBS, A4B33DS, A7B36DBS: Database Systems Lecture 02: Relational Model Martin Svoboda 28. 2. 2017 Faculty of Electrical Engineering, Czech Technical University in Prague Lecture Outline Logical

More information

China *Corresponding author(

China *Corresponding author( doi:10.21311/001.39.7.08 An Improved Ontology Learning Algorithm from Relational Schema Lu Yiqing 1, 2, * 1 Beijing Key Laboratory of Multimedia and Intelligent Software Technology College of Metropolitan

More information