MsXml创建和解析XML示例
来源:互联网 发布:淘宝小樱牌 编辑:程序博客网 时间:2024/06/07 07:57
一.MsXml创建XML文档示例
生成的china.xml文档内容:
二.MsXml解析XML文档示例
运行结果如下:
root = China
child[1] of <China>: <Continent>
child[3] of <China>: <Population>
child[5] of <China>: <Municipality>
文档中<Population>共有5个
根节点下的<Population>子节点值为1,296
Attr[0] of <Population>: Units = Million Person
Attr[1] of <Population>: StatisticalYear = 2000
childs of <Municipality>: BeiJing
childs of <Municipality>: Area
childs of <Municipality>: Population
childs of <Municipality>: TianJin
childs of <Municipality>: Area
childs of <Municipality>: Population
childs of <Municipality>: ShangHai
childs of <Municipality>: Area
childs of <Municipality>: Population
childs of <Municipality>: ChongQing
childs of <Municipality>: Area
childs of <Municipality>: Population
child[0] of <Municipality>: BeiJing
child[1] of <Municipality>: TianJin
child[2] of <Municipality>: ShangHai
child[3] of <Municipality>: ChongQing
<TianJin>的父节点为<Municipality>
child[0] of <TianJin>: Area
child[1] of <TianJin>: Population
<TianJin>的兄节点为<BeiJing>
<TianJin>的弟节点为<ShangHai>
- MsXml创建和解析XML示例
- MsXml创建和解析XML示例
- MsXml创建和解析XML示例
- MsXml创建和解析XML示例
- MsXml创建和解析XML示例
- msxml解析xml示例
- VC++和MSXML解析XML文档
- VC++ MSXML创建XML文件以及对XML文档解析
- MSXML 解析 XML(收藏)
- MSXML 解析 XML
- MSXML 解析 XML
- 用MSXML解析XML
- MSXML 解析 XML
- msxml 解析xml
- MSXML 解析XML文件
- 利用msxml创建xml
- 利用MSXML解析XML文本
- 利用MSXML解析xml文件
- 月薪两千也要拿出一万的职业范儿
- Coco/R快速编译器生成
- iebook超级精灵2008 专业版破解
- 双公司记
- FORCAL参数优化动态库FcOpt
- MsXml创建和解析XML示例
- 目前比较全的CSS重设(reset)方法总结
- 产品设计与用户体验
- c++学习总结
- 感悟之“善良”
- B 树、B- 树、B+ 树、B* 树都是什么
- 聚集索引和非聚集索引的区别
- xampp zend xx/xs 安装 X-Space 3.0/SupeSite 5.5 时候提示"Attention: Zend Optimizer not Installed "
- 常用命令:如何使用命令trap来捕捉信号