Questions tagged [kissxml]
31 questions
7
votes
2 answers
Swift Framework with libxml
I have Swift Framework project that uses the KissXML Objective-C library. KissXML internally uses libxml.
When I build the xcode project (Xcode 6 - beta 5), I get this error:
error: :0: error:…

infinite-loop
- 882
- 11
- 17
5
votes
3 answers
kissXML returning no values for xpath query
Im trying to parse the following XML file(generated on iphone with KISSxml) with KissXML :

Jesse
- 75
- 6
4
votes
2 answers
(Kiss)XML xpath and default namespace
I am working on an iPhone project that needs to parse some xml. The xml may or may not include a default namespace. I need to know how to parse the xml in case it uses a default namespace. As I need to both read an write xml, I'm leaning towards…

Reason
- 1,410
- 12
- 33
3
votes
2 answers
KissXML and GData Deprecated?
I see KissXML and Googles GData are both deprecated.
Can/should we still use them ?
What are the alternatives?
I want to be able to read and write xml with an XSD schema on iOS.
Any suggestions?

ADude
- 345
- 5
- 14
3
votes
3 answers
Issue with CocoaPods 0.37.2 and KissXML 5.0
XCode 6.3.2
CocoaPods 0.37.2
KissXML 5.0
I'm having a difficult time getting KissXML to compile as a pod after updating from CocoaPods 0.35.0.
I get a ton of errors like this:
Error:(2, 9) 'libxml/tree.h' file not found with include; use "quotes"…

bvanderw
- 1,065
- 2
- 12
- 20
2
votes
3 answers
2
votes
1 answer
How to find out if DDXMLElement has a value?
I have a XML WebService (and no chance to change this) elements can be empty but I see no obvious way to do this using KissXML.
Is there a way to prevent app crashing if false is ?
I am using this code:
if ([[element…

btype
- 1,593
- 19
- 32
2
votes
1 answer
libxml xmlNodeDump encoding issue
I have this code
if(genericPtr->type == XML_ATTRIBUTE_NODE){
xmlAttrPtr attr = (xmlAttrPtr)genericPtr;
printf("\n str %s\n", (const char *)attr->children->content);
}
xmlBufferPtr bufferPtr = xmlBufferCreate();
if…

Rubycon
- 18,156
- 10
- 49
- 70
2
votes
2 answers
How to send POST XML from iOS app?
So, I've ran over and over the web in search for anything about sending XML with POST from iPhone app - no luck so far, none!
I'm using in my app KissXML, which I find very easy and useful when it comes to getting XML out of response - but quite…

raistlin
- 4,298
- 5
- 32
- 46
2
votes
2 answers
How to write CDATA with KissXML?
I am creating an application for iOS which needs to create an XML document. I do this via KissXML. Part of the XML looks like
I cannot find any option in KissXML to create the CDATA part. Simply adding a string…

moq
- 65
- 6
1
vote
3 answers
Project isn't linking (KissXML/iOS)
I am having trouble linking KissXML to my iOS project. I've added the path "/usr/lib/libxml2" to "Header Search Path" and "-lxml2" to "Other Linker Flags". But I get this error when building my project:
Undefined symbols:…

koirn
- 11
- 2
1
vote
0 answers
SOAP api using Kiss xml
I want to integrate SOAP Api integration using Kiss-XML in iOS Swift 5, I have tried easywsdl file for this. I have integrated this in my new demo but I am not getting how to send request and get response. Please help me if any one know about the…

rohit sankpal
- 51
- 6
1
vote
0 answers
Error linking libxml ios
I am running an iOS project. I am using Xcode 8 and I can't compile my project on device and successfully run it on simulator. It was successfully compiled with Xcode 7.2
I am using KissXML with cocoapods and this is using libxml2.2.dylib…

codaman
- 206
- 4
- 6
1
vote
1 answer
iOS XML Parser memory leaks with KissXML
I've been confused by this memory problem for a few days. In my iOS project, i use KissXML as XML parser. My XML files are huge(15M). Now, the memory problem comes:
Here's my code
http connection finished part:
NSData *copyData = [NSData…

Danny Xu
- 401
- 3
- 10
1
vote
1 answer
KissXML fails with XML containing processing instructions
I have encountered an issue where XPath Queries will fail in KissXML when the XML contains processing instructions, but will work fine if the exact same XML does not contain any processing instructions.
As an example I have the following XML without…

Paul
- 79
- 1
- 12