XMLDLL操作说明文档(四)
2015-12-06 17:31
295 查看
'xmltotable示例 Dim myxml1 As New mydll("d:\iceou.xml") myxml1.XMLFile_Format("d:\iceou.xml") Dim myxml As New mydll("d:\iceou.xml") Dim nt As New Xml.NameTable Dim nsmgr As New Xml.XmlNamespaceManager(nt) nsmgr.AddNamespace("SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/") nsmgr.AddNamespace("SOAP-ENC", "http://schemas.xmlsoap.org/soap/encoding/") nsmgr.AddNamespace("xsi", "http://www.w3.org/2001/XMLSchema-instance") nsmgr.AddNamespace("xsd", "http://www.w3.org/2001/XMLSchema") nsmgr.AddNamespace("m", "http://webservice.clini.org/") DataGridView1.DataSource = myxml.xmlToTable("m:getInHospType", , nsmgr) ‘xmltotree示例 Dim nt As New Xml.NameTable Dim m_xmldll As New mydll("d:\test1.xml") Dim nsmgr As New Xml.XmlNamespaceManager(nt) nsmgr.AddNamespace("SOAP-ENV", "http://schemas.xmlsoap.org/soap/envelope/") nsmgr.AddNamespace("m", "http://webservice.clini.org/") 'm_xmldll.xmltotreeview("arg0", TreeView1) 'm_xmldll.m_treeview = TreeView1 m_xmldll.xmlToTreeview("SOAP-ENV:Envelope", TreeView1, "", nsmgr, ImageList1)下载:
以上已做了优化和变动,请参看另一篇文章
点击打开链接
相关文章推荐
- 守护进程的两种实现
- 编译原理 LR(0)项目集规范族的构造 LR(0)分析表+分析语句 详解分析+代码
- 快速排序
- viewPaper 更换主界面背景图片
- 有意思的位运算
- JavaScript创建cookie
- UVA 12108
- error = Error Domain=NSCocoaErrorDomain Code=3840
- Nginx 配置SSL访问
- 散列表
- Tree(未解决。。。)
- 实例Block传值
- hdu 5592 BestCoder Round #65(树状数组)
- splay区间翻转及删除区间,平移区间
- hdu 5592 BestCoder Round #65(树状数组)
- XMLDLL操作说明文档(三)
- stata学习笔记(七):回归分析和稳健性检验
- linux 解决Ubuntu编译内核uImage出现问题“mkimage” command not found - U-Boot images will not be built问题
- ML 基础知识
- caffe 教程