NSXML is Apple's Objective C API for doing tree-based XML document parsing and construction.
Questions tagged [nsxml]
74 questions
2
votes
1 answer
Swift iOS - Excluding root/parent elements when parsing XML - NSXML
I am attempting to parse an XML RSS feed using NSXMLParser and creating an array dictionary and displaying in a table view - which is working, however I am getting mismatched results. For each result I'm trying to show the "title" and "source"…

R.James
- 115
- 1
- 9
2
votes
1 answer
Get text value only from NSXMLElement without the text of child nodes
I use KissXML, it is a drop replacement for NSXMLDocument, etc.
This is contents of my NSXMLElement:
baker
ˈbeɪkə
baker пекарь, булочник
I want to get the text value of a NSXMLElement Node without the text of…

Denis Kutlubaev
- 15,320
- 6
- 84
- 70
2
votes
1 answer
Collecting NSXMLDocument warning output
I have the following helper function for transforming XML via XSLT:
- (NSXMLDocument *)transform:(NSString *)xml :(NSString *)xslt
{
NSError *xmlDocErr = nil;
NSXMLDocument *transformedXmlDoc = nil;
NSXMLDocument *xmlDoc =…

ABach
- 3,743
- 5
- 25
- 33
1
vote
3 answers
NSXMLParser problem with "&"(Ampersand) character
My NSXMLParsing is not working because of "&" character.. my code s below .any help please ?
NSString *myRequestString = [NSString stringWithFormat:@"http://abc.com/def/webservices/aa.php?family_id=%d",self.passFamilyId];
//NSLog(@"Requested…

PJR
- 13,052
- 13
- 64
- 104
1
vote
1 answer
NSXML Parsing - Distinguishing Nodes
I am trying to extract the doc-num from the following xml using NSXML. At this point I am able to iterate through all the nodes using the NSXML parser event, but I am trying to distinguish between the doc-num in the input node from the one in the…

xmorera
- 1,933
- 3
- 20
- 35
1
vote
2 answers
UITable view,loading images from rss feed
I m reading the xml images from rss feed and parsing it in UITable view. Everything works fine, but it takes time to load the image content in the table view. The screen remains frozen. I'm using NSXMLParser to parse the image. Could you guys help…

kingston
- 1,553
- 4
- 22
- 42
1
vote
2 answers
XML parsing - iPhone
Hello I am new to iPhone development.
I have created one application that consume data from web service. And it works fine but I have a problem with parsing.
The xml data that I get from the web service is:

Prazi
- 335
- 1
- 5
- 18
1
vote
0 answers
Add a new NSXMLElement to an existing NSXMLDocument
I have following NSXMLDocument:
1234
Now I would like to add another NSXMLElement directly behind the first…

3ef9g
- 781
- 2
- 9
- 19
1
vote
1 answer
How to parse a xmpp xml in ios?
Hi I am working with the xmpp every thing working fine.But I am unable to parse below xml
Broadcast

Bittoo
- 579
- 7
- 21
1
vote
1 answer
How to get attributes from an element in XML
I have constructed an XML tree structure of an XML file. I am able to trace the entire tree.
When i want to retrieve the attributes of an element, it is returning as NSXMlNode of kind NSXMLAttributeKind. How can i extract the key value pairs in the…

boom
- 5,856
- 24
- 61
- 96
1
vote
2 answers
which is faster ? NSXMLParser or KissXML
HI,
i need a XML parser. i want to know that which one is faster? NSXMLParser or KissXML ?
looking forward for replies...

g.revolution
- 11,962
- 23
- 81
- 107
1
vote
1 answer
How to keep CDATA entries with NSXML with cocoa?
I'm trying to export an XML file that is embedded in a bigger file, that source XML contains lots of CDATA like this one:
When i save the file:
NSData *xmlData = [xmlDocument XMLDataWithOptions:0];
[xmlData…

user3011168
- 101
- 1
- 2
1
vote
1 answer
NSXMLParser NSString
After successfully ( :D) communicating with my server, i'am tying to parse a xml file that it returns me. According to what i'am printing i assume that the parsing is going rather well. The problem is that i'am new, very very very new to…

Hakeem El Bakka-lee
- 756
- 1
- 7
- 23
1
vote
1 answer
NSXML replacing "<" with "%lt;"
I see there are other questions related to this, but none using NSXML.
So, I'm constructing an XML document from scratch using NSXML and when I create a NSXMLNode with a string value, all the "<" characters in that string are replaced with "& lt;"…

David Brown
- 13,336
- 4
- 38
- 55
1
vote
3 answers
XCODE NSXML changing the element value
I have a very simple xml file by name options.xml
Tom
Using NSXML I am trying to change "Tom" to "Jim" and save the file. How can I do that. I read many document and there is no straight forward…

user1771823
- 139
- 1
- 13