Title :
A Storage Method for XML Document Based on Relational Database
Author :
Sainan, Liu ; Caifeng, Liu ; Liming, Guan
Author_Institution :
Coll. of Publish, Hangzhou Dianzi Univ., Hangzhou, China
Abstract :
At present, storing XML document in a relational database is a hot topic because relational databases are mature and scale well. In this paper, a novel relational database storage structure that can store XML document is proposed. An algorithm that translates XML document to relational database is given according to the proposed storing structure and algorithms that translate XPath Query to SQL Query which runs on SQL Server 2000 is also given. The steps and algorithms are given in detail to describe how to use the storing structure to storage and query XML document in relational database. Then, an example is presented to show how to use this method and approve the correct of the proposed storing structure and given algorithms. Compared with other methods, the method in this paper has advantage in compact translated SQL, lesser relational database space and quicker query speed.
Keywords :
SQL; XML; relational databases; SQL Query; SQL Server 2000; XML document storage method; XPath Query; relational database; Computer science; Database systems; Displays; Educational institutions; Genetic algorithms; Indexes; Internet; Object oriented databases; Relational databases; XML; SQL Query; XML; XPath Query; relational database; storing structure;
Conference_Titel :
Computer Science and Computational Technology, 2008. ISCSCT '08. International Symposium on
Conference_Location :
Shanghai
Print_ISBN :
978-1-4244-3746-7
DOI :
10.1109/ISCSCT.2008.77