检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安电子科技大学软件所,陕西西安710071 [2]南京卷烟厂技术装备处,江苏南京210012
出 处:《微机发展》2004年第6期88-91,共4页Microcomputer Development
摘 要:在应用程序中访问XML文档有DOM的树结构、SAX流模型,以及XML数据绑定的方法。前两种方式在XML文档和应用之间处理大量的数据时非常麻烦,而数据绑定是处理大量数据的好方法。文中从XML模式描述C++结构的基础出发,实现了把有效的XML文档绑定到结构,在C++程序中,通过调用通用的打包和解包接口函数解决了结构实例和XML文档数据之间的直接转换,而不需过多的处理。There are three methods to access XML documents, tree-structure in DOM, stream-model in SAX, and XML data binding. Must probe deeply into XML text nodes when the first two methods are used and thus is a big trouble exchanging huge data among XML documents and applications. Now the data binding method specially used to exchange huge data has been implemented in Java. This paper describes the XML data binding in C++ that makes the data exchanging much easier, only to call the marshalling and unmarshalling methods in the program to do the work.
关 键 词:文件对象模型 XML简化编程接口 XML文档 树结构 流模型 XML模式 XML数据绑定
分 类 号:TP311.52[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.48