Advertisement
Guest User

XML Making String

a guest
Mar 10th, 2015
948
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.          NSString *soapMessage = [NSString stringWithFormat:
  2.                              @"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
  3.                              "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n"
  4.                              "<soap:Body>\n"
  5.                              "<newslist xmlns=\"http://tempuri.org/\">\n"
  6.                              "<pi>%@</pi>\n"
  7.                              "</newslist>\n"
  8.                              "</soap:Body>\n"
  9.                              "</soap:Envelope>\n",[userDefaults valueForKey:@"languageId"]
  10.                              ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement