I use NSXMLDocument to generate a xml string:
NSXMLDocument *doc = [[NSXMLDocument alloc]init];
[doc setVersion:@"1.0"];
[doc setCharacterEncoding:@"UTF-8"];
its generating:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
How i can remove 'standalone="no"
As far as I understand the dokumentation there is no way to avoid it from being generated. In this SO question it's also mentioned. But if you read the accepted answer of Igor Konoplyanko you can try to use
XSLTto remove it. The linked question is about java but I think in objective-c there will be similar functions.