如何将Xml数据填充到组合框中 [英] How to fille Xml data into a combo box

查看:71
本文介绍了如何将Xml数据填充到组合框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在研究vs2003。我需要将一个字段的数据作为xml格式的响应转换为组合框。

Xml数据在CString中获取。现在我需要提取一个在xml中出现很多次的特定字段。





我遇到的真正问题是如何从其父字段的每次迭代到达特定字段。









Thnx提前

解决方案

通常使用库来解析 XML 文件。请查看 MSXML [ ^ ]和 XmlLite [ ^ ]。

Hi all ,
I am working on vs2003 . I need to take the data of one field which is coming as a response in xml format into a combo box .
The Xml data is taken in a CString . Now my need is to extract a particular field which comes many a times in the xml .


The real problem I am encountering is that how to get to the particular field from every iteration of its parent field .




Thnx in advance

解决方案

Usually you use a library for parsing XML files. Have a look to both MSXML[^] and XmlLite[^].


这篇关于如何将Xml数据填充到组合框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆