M
M
MagoVinch2013-12-27 11:40:55
Objective-C
MagoVinch, 2013-12-27 11:40:55

How to use kissXML?

Tell me how to parse xml file using this parser?
Well, or give a link to a resource where there is detailed information.
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
deleted-mezhevikin, 2013-12-27
@MagoVinch

I don't like kissXML, use RaptureXML better
https://github.com/ZaBlanc/RaptureXML
I use it, I'm happy with the speed and simplicity.

RXMLElement *rootXML = [RXMLElement elementFromXMLFile:@"players.xml"];

[rootXML iterate:@"players.player" usingBlock: ^(RXMLElement *e) {
    NSLog(@"Player #%@: %@", [e attribute:@"number"], [e child:@"name"].text);
}];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question