检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]北方民族大学计算机科学与工程学院,宁夏银川750021
出 处:《宁夏工程技术》2007年第4期313-316,共4页Ningxia Engineering Technology
基 金:国家民委2005年"面向西部企业信息系统整合的Web服务技术研究"基金资助项目
摘 要:为了突破目前最流行的2种API,即SAX和DOM的局限,在介绍StAX最新XML数据解析技术的开发背景、分析其解析机理和技术内涵的基础上,分别给出了使用基于指针的API集合解析XML文件和生成XML文件的应用示例.通过这2个应用实例说明使用StAX这种API处理XML文件是十分容易的.在解析XML文件时,不用像DOM那样考虑XML文件的树型结构.同时,它还具有了SAX所没有的写操作功能.因此,StAX这种新式API是DOM和SAX二者优点的结合体,它即具有SAX的效率,又具有DOM的强大功能,并且编码十分简单易读.At present, the most popular kinds of API named SAX and DOM both have its limitation. In order to break through it, this article introduces a new kind of XML data analysis called StAX, and its technology development background, and analysis mechanism and the technical connotation, and then separately presents the use of API set based on the cursor to analyze the XML document and to produce the XML application demonstration. In this article, from two application examples, it can be seen that the using of StAX API and processing of XML document is easy. When we analyze the XML document, we need consider the tree structure like Dom of the XML document. At the same time, it also has the write operation function which StAX has not. There for, StAX, the kind of new API has advantages of DOM and SAX. The StAX not only has the efficiency of SAX, but also has the strong function of DOM and extremely simple codes.
分 类 号:TP312[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.117