RE: NSXML encoding question...
RE: NSXML encoding question...
- Subject: RE: NSXML encoding question...
- From: James Bucanek <email@hidden>
- Date: Sun, 26 Aug 2007 13:28:36 -0700
John Stiles <mailto:email@hidden> wrote (Sunday, August
26, 2007 12:10 PM -0700):
Unfortunately I don't have a lot of CDATA experience so I don't know
the best workaround for this sort of situation.
The recommended solution is to encode the string using two CDATA
tags, splitting the sequence "]]>" so it doesn't occur literally
in the document:
<![CDATA[if( [a multiplyWith:[b value]]]]><![CDATA[>25 )]]>
<http://en.wikipedia.org/wiki/CDATA#Uses_of_CDATA_sections>
--
James Bucanek
_______________________________________________
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