how to remove XML tag from a web service response ???

Discussion in 'iOS Programming' started by gowdalokeshs, Jan 5, 2011.

  1. macrumors member

    Joined:
    Aug 31, 2010
    Location:
    bangalore
    #1
    Hi,

    I have a webservice in ASP.NET that has one exposed Web Method ChkUserName. I am passing the username and password through this method.

    I am able to get the response as follows for the given username/password.

    <?xml version="1.0" encoding="utf-8" ?>
    <string xmlns="http://mydomain.com/">1</string>

    Is there anyway that I can get only the response back without the XML tags?

    Thanks
    LOKESH
     
  2. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #2
    What are you using the parse the XML response? Because in there you should just be able to ignore the <?xml> tag.
     

Share This Page