preserving newline and whitespaces while using NSXmlDocumentTidyXML
preserving newline and whitespaces while using NSXmlDocumentTidyXML
- Subject: preserving newline and whitespaces while using NSXmlDocumentTidyXML
- From: aashish tiwari <email@hidden>
- Date: Tue, 17 Oct 2006 10:33:06 +0100 (BST)
I have an issue in my cocoa application, when i
initialize an NSXmlDocumet from an NSString all the
newlines does not apper in the xmldocument.
the code is like this...
NSXMLDocument *xmlDoc = [[NSXMLDocument alloc]
initWithXMLString:httpResponse
options:NSXMLDocumentTidyXML error:&err];
where httpResponse is an NSMutableString.
when i use NSXmlDocumentTextKind, the above conversion
does not work for malformed xml.
i want to preserve newlines while using
NSXmlDocumentTidyXML, what should i do?
please help me.
Thanks
Aashish
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden