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
2010-09-21 06:31:47
Sam
2010-09-21 06:47:02
Sam
2010-09-21 06:53:55
@Sam: Actually that loads for me. You only need to use either `CDATA` or escapes though.
Georg Fritzsche
2010-09-21 07:00:45
Sam
2010-10-13 13:06:00