1. XML 文档操作
1.1 加载一个XML文档
Dim objDoc As New XmlDocument()
'-- Load xml document Sample.xml
objDoc.Load("Sample.xml")
1.2 加载一个XML数据
Dim objDoc As New XmlDocument()
Dim strXML As String
strXML = "EmployeesEmployee id=”12345”Employee_ID12345/Employee_IDNameZhang Bin/Name/Employee/Employees"
'-- Load xml data
objDoc.Load(strXML)
1.3 保存文档
'—Save xml document
objDoc.Save("Sample.xml")
2 XML 数据的查...[ 查看全文 ]