Hi,
I have an NSXmlDocument object which is constructed from an XML file. How can i serialize
the said document. I have seen NSPropertyListSerialization class, but could not use as it is
not plist file.
Hi,
I have an NSXmlDocument object which is constructed from an XML file. How can i serialize
the said document. I have seen NSPropertyListSerialization class, but could not use as it is
not plist file.
Call -XMLData
on it; you'll receive an instance of NSData
which can subsequently be written to disk.
Also; you could use -XMLDataWithOptions
, for much the same result.