![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: How to parse this XML - simple but I couldn't figure out How to parse this XML - simple but I couldn't figure outTo: NULL Date: 1/5/2007 5:21:00 PM
Hi,
I have a simple XML response coming from a server. I am using
Microsoft.XMLDOM object in VB script. For some reason I cannot parse
this XML properly. Here is the response:
<?xml version="1.0" encoding="UTF-8"?>
<main>
<email>anEmail</email>
<address>anAddress</address>
<boolean>Y</boolean>
<product>
<attribute1>someText</attribute1>
<attribute2>someNumber</attribute2>
<attribute3>someData</attribute3>
<attribute4>moreData</attribute4>
</product>
<queryDate>someDate</queryDate>
</main>
I tried selectSingleNode("product") method but it returns empty.
I also tried selectSingleNode("/main/product") with no avail.
I just noticed response does not have a proper ending (</xml>) could it
be the issue, or there is something else?
Thanks in advance,
Deniz
| ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
