tags:

views:

73

answers:

1

HI all,

my xml consist of words in few different language,latin words etc. i am able to parse these latin characters n all except the fact,that i am not able parse only "&"

This is wat i am getting @gdb

> Entity: line 223: parser error : > xmlParseEntityRef: no name Ull > always be mine 4 now & 4ever.Ull > always be mine 4 u r my treasure.Ull

Any hint to overcome this

regards shishir

+5  A: 

The ampersand is treated as a special character because it is a special character. Ampersand is the start of an entity.

Ampersand ("&") needs to be written as & amp; or be contained in a CDATA section

See this link on how to escape XML strings in Objective-C

oluies
can u let me know about CDATA secion,l'll bitthanks for reply
shishir.bobby
http://en.wikipedia.org/wiki/CDATA
Yann Ramin