Forums

ASP

This topic is locked

Reading an XML post

Posted 08 Nov 2006 20:45:38
1
has voted
08 Nov 2006 20:45:38 Chest Rockwell posted:
I have built a ASP page that can recieve XML posts.
The following code will extract the 1st piece of data sent via XML and place it in strFirstData
<pre id=code><font face=courier size=2 id=code>
Response.ContentType = "text/xml"
set xmldom = server.CreateObject("Microsoft.XMLDOM"
set xmlhttp = server.CreateObject("Microsoft.XMLHTTP"
xmldom.load(Request)
strFirstData = res.childNodes.item(0).text </font id=code></pre id=code>
I wish to know if there is a way of collecting the data via the <b>name</b> of the posted node (within the XML) as opposed to it being the 1st childNode

Reply to this topic