views:

30

answers:

1

I'm having a plist file which has some values with the "&" sing for example M&I, when i save the file to document folder and load it from their,i'm getting empty dictatiory, any idea to how to fix this issue.

+1  A: 

If you are directly modifying the XML file, you have to escape certain characters - & should be escaped using the XML entity &. If you use the editors, this should be done automatically for you.

If you use CDATA sections instead, you don't have to escape the characters.

Georg Fritzsche
Sam
Sam
@Sam: Actually that loads for me. You only need to use either `CDATA` or escapes though.
Georg Fritzsche
Sam