View Single Post
 
Old December 23rd, 2004, 11:31 AM
kevorkian kevorkian is offline
Authorized User
 
Join Date: Sep 2004
Location: , , .
Posts: 62
Thanks: 0
Thanked 1 Time in 1 Post
Default

I have many different affiliates that are posting the XML to one page in a form value named XML_Post. And I simply load that xml into the parser like so:

Dim bLoaded
Dim xmlObj
set xmlObj = Server.CreateObject("Microsoft.XMLDOM")
xmlObj.async = False
bLoaded = xmlObj.loadxml(XML_post)

If bLoaded = True Then ' It loaded and validated ok, continue..
    set ping_id = xmlObj.selectSingleNode("//XML_doc/session_id")
        'etc
        'etc

However I want to be able to check the URL first as different URL's will be posting some different nodes in their document (amongst other functions I will need to call)

Thanks.