首页 相关文章 读取XML的类 XmlReader

读取XML的类 XmlReader

  还有一个读取XML的类 XmlReader:

%
Class XmlReader

Private Xml

Public Sub Load(ByVal Path)
Xml.Load(Server.MapPath(Path))
End Sub

Public Function SelectSingleNode(ByVal XPath)
Set SelectSingleNode = Xml.SelectSingleNode(XPath)
End Function

Public Function SelectNodes(ByVal XPath)
Set SelectNodes = Xml.SelectNodes(XPath)
End Function

Private Sub Class_initialize()
Set Xml = Server.CreateObject("Microsoft.XMLDOM")
Xml.async = False
''Xml.setProperty "ServerHTTPRequest", True
...[ 查看全文 ]

2016-02-19 标签:

读取XML的类 XmlReader的相关文章

手机页面
收藏网站 回到头部