由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
XML版 - a weird xml parser (MS DOM) problem
相关主题
XML 结构[转载] XML parsing problem
XMLSolutions 发布XMLZip.敬请高手解答:Tomcat中servlet的XML解析器问题
Perl XML FAQ--3How to parse DTD structure?
SAX and DOM parsers[转载] 急问: 在 jaxp 中怎样建立新 Node ? 多谢!
xml parser?xml parser
newbie question.. what's process instruction?Any APIs for handling XML?
Refresh XMLDOM problemone simple question
如何使用MSXML.dll[转载] 再问一个巨简单的问题(SQL+XML)
相关话题的讨论汇总
话题: xml话题: dim话题: dom话题: ms话题: set
进入XML版参与讨论
1 (共1页)
b******g
发帖数: 7
1
I use MS DOM to parse a XML file in VB.
The program is very simple:
Private Sub cmdLoad_Click()
Dim xml As DOMDocument
Set xml = New DOMDocument
xml.Load(App.Path & "\sample.xml")
Dim root As IXMLDOMElement
Set root = xml.documentElement
Dim node As IXMLDOMNode
For Each node In root.childNodes
Debug.Print node.Text
Debug.Print node.nodeName
Debug.Print Chr(13) + Chr(10)
Next
End Sub
I can not get any output in Debug window.
But when I set a
a*****a
发帖数: 438
2
Debug.Print is printing to debug window yah.. change to Response.Write

【在 b******g 的大作中提到】
: I use MS DOM to parse a XML file in VB.
: The program is very simple:
: Private Sub cmdLoad_Click()
: Dim xml As DOMDocument
: Set xml = New DOMDocument
: xml.Load(App.Path & "\sample.xml")
: Dim root As IXMLDOMElement
: Set root = xml.documentElement
: Dim node As IXMLDOMNode
: For Each node In root.childNodes

b******g
发帖数: 7
3
I am using VB program to parse XML,
not ASP script...

【在 a*****a 的大作中提到】
: Debug.Print is printing to debug window yah.. change to Response.Write
1 (共1页)
进入XML版参与讨论
相关主题
[转载] 再问一个巨简单的问题(SQL+XML)xml parser?
About XML parsernewbie question.. what's process instruction?
where to find some sample code of XML document creating and parsing with JAXP DOM?Refresh XMLDOM problem
Help with tips for xml file transfer using socket如何使用MSXML.dll
XML 结构[转载] XML parsing problem
XMLSolutions 发布XMLZip.敬请高手解答:Tomcat中servlet的XML解析器问题
Perl XML FAQ--3How to parse DTD structure?
SAX and DOM parsers[转载] 急问: 在 jaxp 中怎样建立新 Node ? 多谢!
相关话题的讨论汇总
话题: xml话题: dim话题: dom话题: ms话题: set