Questions tagged [kissxml]

31 questions
1
vote
1 answer

Handling wcf Rest web service using KissXML - how should I handle namespace issue

I'm using KissXML on iOS to parse the XML data returned from a wcf REST web service (written in c#) The trouble I have is that KissXML doesn't like the namespace in the XML data that I get from the web service. In a trivial example the XML data I…
Pete McPhearson
  • 469
  • 1
  • 7
  • 17
0
votes
3 answers

iOS Packet Length

I am writing a small app that essentially swaps XML back and forth a-la SOAP. I have an OS X-based server and an iPad client. I use KissXML on the client and the built-in XML parser on the server. I use GCDAsyncSocket on both to communicate. When…
user229564
0
votes
1 answer

extracting CDATA with KissXML

is there a way I can access the CDATA Value in a xml string using KissXML? My obj-c code: for(DDXMLElement* itemElement in xmlItems) { //get CDATA } String looks like this:
btype
  • 1,593
  • 19
  • 32
0
votes
1 answer

NSXMLDocument parsing into custom objects

Using NSXMLDocument, without using XPath, is there an easy way to parse an XML document and deserialize it into custom objects to create an object tree hierarchy? For example, if I have the xml shown below, is it possible to put the details into a…
inforeqd
  • 3,209
  • 6
  • 32
  • 46
0
votes
1 answer

How to dump XML in KissXML

I used KissXML in my project, now I wanna dump XML info for trace like Zend_Debug::dump(XXX) in php. But I failed to find API support in KissXML. Any Idea? or I have to implement by myself? Thanks!
Knuth
  • 13
  • 4
0
votes
1 answer

framework not found KissXML

I get a framework not found KissXML error a compile of some third party code that I did not write. I am using XCode 9.1. I see that KissXML does not have the suitcase icon on this screen: Other people have reported this problem on stack, but the…
Be Kind To New Users
  • 9,672
  • 13
  • 78
  • 125
0
votes
1 answer

How to extract xml soap body from xml envelope using objective c?

How to extract xml soap body from xml envelope using objective c?
thobio joseph
  • 63
  • 1
  • 11
0
votes
1 answer

Parsing large XML files fails--ERROR:Error Domain=DDXMLErrorDomain Code=1 "(null)"

I'm parsing XML using KissXML. I can successfully parse small XML but have problem with large XML. Here's my code let url = URL(fileURLWithPath: xmlPath!) let xmlData = try! Data(contentsOf: url) do { let doc = try DDXMLDocument(data:…
Amberoot
  • 3
  • 4
0
votes
1 answer

How to remove xml declaration from KISSXML?

I'm using KissXML (iOS) to create a xml document. Everything works great but when I want to write DOM to NSString using XMLString method, then output xml string contains xml declaration (). Is there any way to…
robocik
  • 101
  • 7
  • 20
0
votes
1 answer

use KissXML and armv7 GoogleMap

i need some help, I met this problem, i need use googleMap in my project,and I must do the following operation: Replace the default value of Architectures with armv7. In the Other Linker Flags section, add -ObjC. If these settings are not visible,…
0
votes
1 answer

XML parsing - grouping attributes into nsdictionary with KissXML and XPath

my attempted goal is to parse this xml doc https://api.eveonline.com/eve/SkillTree.xml.aspx and eventually get it into core data. but the snippet i'm having trouble with is
BigB
  • 121
  • 2
  • 12
0
votes
1 answer

Parsing XML response from a website

Currently I am writing an online login for my iOS app, I did some research about what library I should use for handeling the HTTP-Request and the XML-Parsing. I ended up with AFNetworking and KissXML. I also use the KissXML addition for…
digga
  • 103
  • 2
  • 12
0
votes
1 answer

Adding libxml2 to Xcode Errors

I've seen like 10239218301 other questions about this but NO solution has worked for me. I've tried "Other Linker Flags" = -lxml2 I've tried "Search Header Files" = $(SDKROOT)/usr/include/libxml2 I've tried "Search Header Files" =…
MrHappyAsthma
  • 6,332
  • 9
  • 48
  • 78
0
votes
1 answer

My app crashed when I created autorelease object of DDXMLDocument

My app did't crashed. DDXMLDocument *d = [[DDXMLDocument alloc] initWithData:abookConnData options:0 error:nil]; books = [d nodesForXPath:@"abooks/abook" error:nil]; I changed object of DDXMLDocument to autorelease and my app began crashed. But…
Voloda2
  • 12,359
  • 18
  • 80
  • 130
-1
votes
1 answer

Recursive loop over DDXMLDocument objective-c

I would like to loop recursively over DDXMLDocument, and to change the elements attributes. How can I do it ? I currently have the document and the root element: DDXMLDocument *theDocument = [[DDXMLDocument alloc] initWithXMLString:content options:0…
Dejell
  • 13,947
  • 40
  • 146
  • 229