I think I tried that. I really think its an encoding issue. I could be wrong but the reason that I think this is because if I copy the xml as a static string into the program it works fine. but when the web service returns this I cant select anything.
Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'divXML.selectsinglenode(...)'
/VBSportal/functions.asp, line 33 note:
i had the program response.write() out the output that I recieve from the web service without doing the LoadXML(). this is what is returned from the web service:
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="<DIVS><DV>P-PACCAR</DV><DV>B-MERCEDES</DV><DV>F-FREIGHTLINER</DV><DV>M-MACK</DV><DV>C-CUMMINS</DV><DV>D-DETROIT</DV><DV>K-CATERPILLAR</DV><DV>W-VOLVO/GM</DV><DV>X-MISCELLANEOUS</DV><DV>R-REBUILT</DV><DV>H-HARDWARE</DV><DV>O-GAS'>http://localhost/DSWebService/WebService"><DIVS><DV>P-PACCAR</DV><DV>B-MERCEDES</DV><DV>F-FREIGHTLINER</DV><DV>M-MACK</DV><DV>C-CUMMINS</DV><DV>D-DETROIT</DV><DV>K-CATERPILLAR</DV><DV>W-VOLVO/GM</DV><DV>X-MISCELLANEOUS</DV><DV>R-REBUILT</DV><DV>H-HARDWARE</DV><DV>O-GAS, OIL AND GREASE</DV><DV>Y-YAMAHA</DV><DV>S-DIRECT SHIP PACCAR</DV><DV>N-NISSAN</DV><DV>I-INTERNATIONAL</DV><DV>V-VOLVO</DV><DV>Z-ZEBRA</DV><DV>U-ISUZU</DV><DV>a-stuff</DV></DIVS></string>
Update: I just realized that I should tell you that I made a change to the xml. notice that the DIV tags are now DV. a co worker pointed out that DIV is already a used tag so I changed it.
<message edited by kelphis on Monday, April 23, 2007 1:24 AM>