views:

20

answers:

1

I'm using libxml2 for SOAP-Actions in an iPhone App.

The big problem is that i want send an SQL-Statement with

NSString *query = @"SELECT test FROM database WHERE test = \"string\""

But libxml2 converts the qotes " into "

Any ideas how to prevent this?

+1  A: 

Quotations within the texual data of XML are supposed to be converted to ", per the XML specification. The receiver is responsible for converting " back to quotations when extracting the text from the XML.

Remy Lebeau - TeamB