XML-/HTML-safe formatted output from NSString
XML-/HTML-safe formatted output from NSString
- Subject: XML-/HTML-safe formatted output from NSString
- From: "Terence Goggin" <email@hidden>
- Date: Wed, 30 Oct 2002 00:07:51 +0000
Hi all,
I have some data that I'm writing to disk via an NSString... However, the
resulting data gets spit out as XML or HTML formatted data which means that
I need a way to catch and replace any XML/HTML reserved characters such as
<, <, &, etc.
Does anyone have any thoughts on easiest ways to accomplish this? I could go
through the NSString one character at a time and just replace as needed, but
I was hoping there was already code or methods to do this available
somewhere.
Thanks in advance,
Terence
_________________________________________________________________
Unlimited Internet access for only $21.95/month. Try MSN!
http://resourcecenter.msn.com/access/plans/2monthsfree.asp
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.