Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 iPhone 应用程序中将 libxml2 用于 SOAP 操作。
最大的问题是我想发送一条 SQL 语句
NSString *query = @"SELECT test FROM database WHERE test = \"string\""
但是 libxml2 将 qotes"转换为"
"
"
任何想法如何防止这种情况?
根据 XML 规范,XML 文本数据中的引用应该被转换为"。接收方负责"在从 XML 中提取文本时转换回引号。
"