• 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: "Julien Jalon" <email@hidden>
  • Date: Sun, 26 Aug 2007 14:29:34 +0200

Use "&lt;" not "&lt".

On 8/26/07, Martin Linklater <email@hidden> wrote:
>
> Hi - I want to encode the following information in an XML document:
>
> <code>
>         addr = *PC + ( *(PC + 1) << 8);
> </code>
>
> If I try the above syntax and parse it using NSXLMParser I get
> 'parseErrorOccurred - Error NSXMLParserErrorDomain 23, (null)'
>
> It seems to be the less-than symbols which are causing the trouble.
> I've had a look at the XML specification and as far as I can tell I
> should be able to encode the less-than characters like so:
>
> <code>
>         addr = *PC + ( *(PC + 1) &lt&lt 8);
> </code>
>
> But this too causes parse errors.
>
> Can anyone tell me how I can encode these characters or point me in
> the direction of some useful documentation ? Thanks.
>
> 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
>
_______________________________________________

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: 
 >NSXML encoding question... (From: Martin Linklater <email@hidden>)

  • Prev by Date: NSXML encoding question...
  • Next by Date: Re: NSXML encoding question...
  • Previous by thread: NSXML encoding question...
  • Next by thread: Re: NSXML encoding question...
  • Index(es):
    • Date
    • Thread