• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSXML encoding question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSXML encoding question...


  • Subject: Re: NSXML encoding question...
  • From: Martin Linklater <email@hidden>
  • Date: Mon, 27 Aug 2007 07:43:15 +0100

On 26 Aug 2007, at 21:28, James Bucanek wrote:


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>

Thanks for all your suggestions. I'll use CDATA blocks.

Martin Linklater



_______________________________________________

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


References: 
 >RE: NSXML encoding question... (From: James Bucanek <email@hidden>)

  • Prev by Date: Re: Objects disappear while encoding
  • Next by Date: NSWindowDidChangeScreenProfileNotification not working
  • Previous by thread: RE: NSXML encoding question...
  • Next by thread: [ANN] ArtistKit v1.1
  • Index(es):
    • Date
    • Thread