Implementation of Streaming-based XSLT Processor.

碩士 === 國立中正大學 === 資訊工程研究所 === 101 === XML (eXtensible Markup Language) is a markup language which is used to describe data and documents. XML is playing a crucial role in Web service, information system, database, and document processing. In recent years, XML traffic is rising rapidly and takes over...

Full description

Bibliographic Details
Main Authors: Yin-Chih Lin, 林盈志
Other Authors: Peng-Sheng Chen
Format: Others
Language:en_US
Published: 2013
Online Access:http://ndltd.ncl.edu.tw/handle/70343810493801428090
Description
Summary:碩士 === 國立中正大學 === 資訊工程研究所 === 101 === XML (eXtensible Markup Language) is a markup language which is used to describe data and documents. XML is playing a crucial role in Web service, information system, database, and document processing. In recent years, XML traffic is rising rapidly and takes over 50 percent of overall network traffic. XSLT (Extensible Stylesheet Language Transformations) is an XML-based language which is used to transform XML documents into other XML or other document types (e.g., HTML, PDF, and WML). Generally, XSLT transformation will suffer a performance degradation when XML documents become considerable and it will cause memory insufficient. Therefore, how we can efficiently process considerable XML documents when doing the XSLT transformation becomes a crucial problem. In this thesis, we develop a streaming-based XSLT interpreter named STP to do the XSLT transformation. It reads an DTD file and an XSLT stylesheet, then creates a transformation tree in memory. Then, it reads in XML document based on the SAX parser without creating XML structure in memory and does the transformation. The experiment result reveals that it can significantly reduce the memory usage and improves the XSLT transformation performance when processes large-sized XML documents.