Android program returns unexpected output

Basically what im trying to do is to return a object list from asp webservice and consume it from android.> My web service code is as follows: using System; using System.Collections.Generic; using...

Check if a String is HTML or XML

Is there a way to check if a String is HTML or XML in JavaScript? Preferably using jQuery rather than some other library? Why I need to do this is because I need to know if it possible to have a function...