I have problem with xml parsing
I got an XML response from the server with this header:
?xml version="1.0"?
So I can't parse it and I can't get my attribute values. In same structure static I will parse else it won't work .
If i add my header file statically like this ?xml version=\"1.0\" encoding=\"UTF-8\"?
it will work fine .
However if I dynamically append this "encoding=\"UTF-8\"
in my xml it shows an error
Parser error Error Domain=NSXMLParserErrorDomain Code=64 "The operation couldn’t be completed. (NSXMLParserErrorDomain error 64.)"