期刊文献+

C++中的XML数据绑定 被引量:2

XML Data Binding in C++
下载PDF
导出
摘要 在应用程序中访问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.
出处 《微机发展》 2004年第6期88-91,共4页 Microcomputer Development
关键词 文件对象模型 XML简化编程接口 XML文档 树结构 流模型 XML模式 XML数据绑定 DOM SAX XML document tree-structure stream-model XML schema XML data binding
  • 相关文献

参考文献3

  • 1[1]Birbeck M. XML高级编程[M]. 北京:机械工业出版社,2002.
  • 2[2]Skonnard A. XML精要快速参考手册[M]. 北京:人民邮电出版社,2002.
  • 3[3]Swanke J E. Visual C+ + MFC 编程实例[M]. 北京:机械工业出版社,2000.

共引文献1

同被引文献3

引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部