期刊名称:International Journal of Computer Science Issues
印刷版ISSN:1694-0784
电子版ISSN:1694-0814
出版年度:2013
卷号:10
期号:3
出版社:IJCSI Press
摘要:DOM parsing approach will consume a lot of memory size when it parse large XML document. This paper proposes an improved method of DOM parsing approach--- parsing approach of delaying extension and reducing redundancy. This method reduces the size of the object created by delaying expanded document, whose purpose is to reduce the memory size used. At the same time it improves the performance of the system by reducing the redundancy of the string stored. After analysing the new algorithm, improvement on it by Hash table is used. It reduces process time and increases parsing efficiency of system further. This paper describes the new algorithm based on this method above and programs it using Delphi6.0. Seven different sizes of XML document were tested based on the new algrithom and DOM parsing approach. The test results demonstrate this algorithm is feasible and effective.