Toward a Streaming Evaluation Model for XPath

碩士 === 國立臺灣科技大學 === 資訊工程系 === 96 === Extensible Markup Language (XML), a markup language proposed by World Wide Web Consortium (W3C) in 1996, has become a standard format for the exchange of information among various applications on the Internet. With the popularity of XML, the amount of XML docume...

Full description

Bibliographic Details
Main Authors: Li-zhen Liu, 劉麗貞
Other Authors: Hahn-ming Lee
Format: Others
Language:en_US
Published: 2008
Online Access:http://ndltd.ncl.edu.tw/handle/57317196935632103424
id ndltd-TW-096NTUS5392057
record_format oai_dc
spelling ndltd-TW-096NTUS53920572016-05-13T04:15:16Z http://ndltd.ncl.edu.tw/handle/57317196935632103424 Toward a Streaming Evaluation Model for XPath 可擴展標示查詢語言之串流查詢機制 Li-zhen Liu 劉麗貞 碩士 國立臺灣科技大學 資訊工程系 96 Extensible Markup Language (XML), a markup language proposed by World Wide Web Consortium (W3C) in 1996, has become a standard format for the exchange of information among various applications on the Internet. With the popularity of XML, the amount of XML document is growing rapidly, when the document which is multiple times larger than available main memory, it will be failed to use DOM based approach. We present a streaming evaluation model for evaluating a XPath expression (involving forward axis, such as child, descendant, following, following-sibling and backward axes, such as parent, ancestor, preceding, and preceding-sibling axes) on a XML document. Besides, we propose an approach which can convert a XPath expression into a corresponding abstract syntax tree suited for evaluating on streaming XML document. Of course, not all XPath expressions can be evaluated this way. We show how to analyze a XPath expression to tell if and how it can be streaming evaluated, and if cannot, how to break the evaluation into multiple passes where each is in streaming manner. Furthermore, we view this abstract syntax tree as computation module against very large XML document. In the most practical case, the processing time is linear to the XML document size and memory is linear to the depth of XML document excluding backward axes. Experiments showed that proposed approach with a good efficiency on execution time within as little memory. Hahn-ming Lee Tyng-ruey Chuang 李漢銘 莊庭瑞 2008 學位論文 ; thesis 92 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立臺灣科技大學 === 資訊工程系 === 96 === Extensible Markup Language (XML), a markup language proposed by World Wide Web Consortium (W3C) in 1996, has become a standard format for the exchange of information among various applications on the Internet. With the popularity of XML, the amount of XML document is growing rapidly, when the document which is multiple times larger than available main memory, it will be failed to use DOM based approach. We present a streaming evaluation model for evaluating a XPath expression (involving forward axis, such as child, descendant, following, following-sibling and backward axes, such as parent, ancestor, preceding, and preceding-sibling axes) on a XML document. Besides, we propose an approach which can convert a XPath expression into a corresponding abstract syntax tree suited for evaluating on streaming XML document. Of course, not all XPath expressions can be evaluated this way. We show how to analyze a XPath expression to tell if and how it can be streaming evaluated, and if cannot, how to break the evaluation into multiple passes where each is in streaming manner. Furthermore, we view this abstract syntax tree as computation module against very large XML document. In the most practical case, the processing time is linear to the XML document size and memory is linear to the depth of XML document excluding backward axes. Experiments showed that proposed approach with a good efficiency on execution time within as little memory.
author2 Hahn-ming Lee
author_facet Hahn-ming Lee
Li-zhen Liu
劉麗貞
author Li-zhen Liu
劉麗貞
spellingShingle Li-zhen Liu
劉麗貞
Toward a Streaming Evaluation Model for XPath
author_sort Li-zhen Liu
title Toward a Streaming Evaluation Model for XPath
title_short Toward a Streaming Evaluation Model for XPath
title_full Toward a Streaming Evaluation Model for XPath
title_fullStr Toward a Streaming Evaluation Model for XPath
title_full_unstemmed Toward a Streaming Evaluation Model for XPath
title_sort toward a streaming evaluation model for xpath
publishDate 2008
url http://ndltd.ncl.edu.tw/handle/57317196935632103424
work_keys_str_mv AT lizhenliu towardastreamingevaluationmodelforxpath
AT liúlìzhēn towardastreamingevaluationmodelforxpath
AT lizhenliu kěkuòzhǎnbiāoshìcháxúnyǔyánzhīchuànliúcháxúnjīzhì
AT liúlìzhēn kěkuòzhǎnbiāoshìcháxúnyǔyánzhīchuànliúcháxúnjīzhì
_version_ 1718267510979035136