javascript - Get the value from a single line XML response -


i have result of web service call returned application. need result of generated pdf name. can suggest method of doing in classic asp or javascript.

i've tried various methods of trying value using xpath etc.

<?xml version="1.0" encoding="utf-8"?> <string xmlns="http://www.namespace goes here">635672928228907180.pdf</string> 

if want use classic asp, should work

dim input input = "<?xml version=""1.0"" encoding=""utf-8""?>" & _         "<string xmlns=""http://www.namespace goes" & _         " here"">635672928228907180.pdf</string>"  dim objxml set objxml = server.createobject("microsoft.xmldom")  objxml.loadxml( input) dim node set node = objxml.selectsinglenode("string")  response.write( node.text) 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -