How send XML data to document window?
How send XML data to document window?
- Subject: How send XML data to document window?
- From: "McLaughlin, Michael P." <email@hidden>
- Date: Tue, 25 Jan 2011 11:18:30 -0500
- Acceptlanguage: en-US
- Thread-topic: How send XML data to document window?
In my app, I read an XML file, init an NSXMLDocument and also display the
file contents in an NSTextField in a document window. The user can then
change parts of the XML via several dialogs. The XML data is eventually
sent to subprocesses for computation.
The NSTextField is set to non-editable because some error-checking must be
done with user entries. Also, some fields are filenames and changing them
involves the FileManager dialog.
Question:
What is the recommended method for writing the changed XML to the document
window for user feedback? I don't want to write the changed XML to a file
and read it back in because most changes are only temporary.
TIA.
--
Mike McLaughlin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden