Hi all, I'm hoping this is an easy question: is it possible to use both NSXMLDocumentIncludeContentTypeDeclaration and NSXMLNodePrettyPrint as options when converting an NSXMLDocument to NSData? I seem to only to be able to do one or the other.
relevant code: NSXMLDocument *manifestXML = [[NSXMLDocument alloc] initWithRootElement:manifest]; [manifestXML setVersion:@"1.0"]; [manifestXML setCharacterEncoding:@"UTF-8"]; NSData *xmlData = [manifestXML XMLDataWithOptions:NSXMLDocumentIncludeContentTypeDeclaration]; //NSData *xmlData = [manifestXML XMLDataWithOptions:NSXMLNodePrettyPrint]; Thanks in advance, Ian Kennedy -- nolite te bastardes carborundorum. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]