newbie XML question

C

Chris Hayes

I have the XML response from the following code:

Set xml = Server.CreateObject("Msxml2.ServerXMLHTTP.4.0")
xml.Open "GET", psFeedPage, False, psUserName, psPassword
xml.Send
sOutput = xml.responseXML.xml

The response is formed like this:

<?xml version="1.0"?>
<docelement>
<feedoutput>
<result>
<error><![CDATA[0]]></error>
<description><![CDATA[Some data.]]></description>
</result>
</feedoutput>
</docelement>

All I want is a value for error, and a value for description. What I have
googled so far seems conflicting.

The simple solution and/or an idiots refernce would be appreciated.

TIA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,273
Latest member
DamonShoem

Latest Threads

Top