A Prolog-based Approach for Analyzing XML Documents and Their Structure
SALO, MARIA (2011)
SALO, MARIA
2011
Tietojenkäsittelyoppi - Computer Science
Informaatiotieteiden yksikkö - School of Information Sciences
This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Hyväksymispäivämäärä
2011-11-22
Julkaisun pysyvä osoite on
https://urn.fi/urn:nbn:fi:uta-1-21930
https://urn.fi/urn:nbn:fi:uta-1-21930
Tiivistelmä
Since the first version of XML was defined in 1998, it has become the most common tool for sharing and transferring data between applications in the Internet. It is also becoming more and more popular as a means to store and describe data. However, it seems there is a need for a tool that can help those people that have to query large and mostly unknown XML documents. Traditional query languages such as XPath and XQuery require the user to know – at least to some extent – the structure of the document they are handling.
This thesis introduces a Prolog-based approach for analyzing XML documents. It features predicates with which the user can analyze the structure and content of XML documents without any previous knowledge of their purpose. The prototype described here uses the XML relation as a foundation. With a tool such as the one introduced here the user can easily check if a document is of interest to them as well as use the tool together with traditional path-oriented query languages.
Asiasanat:XML, Prolog, XML relation, XML analysis, dataspaces, XMLbased dataspacing
This thesis introduces a Prolog-based approach for analyzing XML documents. It features predicates with which the user can analyze the structure and content of XML documents without any previous knowledge of their purpose. The prototype described here uses the XML relation as a foundation. With a tool such as the one introduced here the user can easily check if a document is of interest to them as well as use the tool together with traditional path-oriented query languages.
Asiasanat:XML, Prolog, XML relation, XML analysis, dataspaces, XMLbased dataspacing