Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.
Hi!! I've a problem escaping the single and double quotes in an XML string. I have a xml like this:
then, when i pass this xml to the parser, the msg value is just - this is my message with a - . If i try to escape manually the ' or " with a \, it doesn't seems to change. What have i to do?
Hi!! I've a problem escaping the single and double quotes in an XML string. I have a xml like this:
then, when i pass this xml to the parser, the msg value is just - this is my message with a - . If i try to escape manually the ' or " with a \, it doesn't seems to change. What have i to do?
Thank you
HI, U can use CDATA concept of the xml. and while parsing using NSXMLParser, u can retrieve them in the FOUNDCDATA callback...
The XML file format is not like PHP. You cannot replace " with ' .
Quotation marks can be used, but you have to replace the quotation mark with """ (without the quotation marks). As far as I know NSXMLParser will give you the correct string with the """ values replaced by quotation marks
Replies
U can use CDATA concept of the xml. and while parsing using NSXMLParser, u can retrieve them in the FOUNDCDATA callback...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like AwesomeQuotation marks can be used, but you have to replace the quotation mark with """ (without the quotation marks). As far as I know NSXMLParser will give you the correct string with the """ values replaced by quotation marks
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome