Skip to main content
Filter by
Sorted by
Tagged with
0 votes
2 answers
164 views

I am novice to groovy.I am trying to reformat the XML using groovy. I am creating XML node for each date between dates orderstartdate and StartDate. But one of the child node(prod) has subnodes(id and ...
N21RL's user avatar
  • 31
0 votes
0 answers
18 views

The following code: - (void)ParseFile:(id)sender { NSLog(@"Parsing URL: '%@'", FileURL); NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:FileURL]; [parser setDelegate:self]; ...
TeamFlow's user avatar
0 votes
0 answers
136 views

I have found a strange behavior when trying to parse a (xml-)plist file using XMLParser: Parsing fails apparently just because of the 'plist'-extension – every other extension seems to work: import ...
de.'s user avatar
  • 8,787
1 vote
0 answers
345 views

I am working in Swift and I have a set of Data that I can encode as a String like this: <CONTAINER><Creator type="NSNull"/><Category type="NSNull"/><UMID type=&...
kernelpanic's user avatar
0 votes
2 answers
83 views

I am working on an integration and the response I am getting in XML format. I need to parse it and get the attribute values using javascript. I am trying to get value from node <ab:specific_field&...
a krishna's user avatar
4 votes
1 answer
714 views

I want to parse the below response and save only the "pdf-info" tag's value as a String, let serverResponse = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<xfdf xmlns=\"http://ns.adobe.com/...
Bappaditya's user avatar
  • 9,672
1 vote
1 answer
1k views

I tried to parse a let contentString = "<p>abcdefg</p><p>hijklmn</p><p>123456</p>", which are html tags, with XMLParser. When I print elementName and content ...
steveluoxin's user avatar
0 votes
0 answers
458 views

I'm trying to parse a xml file from a server with XMLparser in swift, I have a var m_items that is a NSMutableArray and a CItemData object that has var m_id:String = "" var m_type:CLong = ...
Korg's user avatar
  • 11
2 votes
2 answers
2k views

I'm trying to abstract an XML parser into a custom class to run it from a VC. It compiles perfectly and my error handler shows up success. However, the actual delegate methods are skipped over. No ...
Always In's user avatar
0 votes
1 answer
344 views

Ok, I am working off Implementing a custom Decoder in Swift 4 and it follows that the parser looks for these keys in the XML: struct RSSChannel: Codable { var title: String var pubDate: Date ...
blue's user avatar
  • 7,413
0 votes
1 answer
1k views

I have a code that is removing empty fields using XMLParser, I wonder if could you help me to have a version of the same using xmlSlurper instead. The code is below: File doc = new File("C:/Temp/...
Raul Biondo's user avatar
1 vote
1 answer
639 views

I have a problem. I wrote this code but I can't read <![CDATA[Epsilon Yayınları]]>. Items with cdata, when I get them it's empty. Is there an alternative solution? XML: <urunler> <...
Bilal Çakır's user avatar
1 vote
1 answer
888 views

I'm trying to parse XML with XMLParser and put it on a PickerView. This is my code: Main code: import UIKit class ViewController: UIViewController, XMLParserDelegate { @IBOutlet weak var ...
Santi Albus's user avatar
0 votes
1 answer
866 views

Is it possible to reload/update a viewController's view once a file gets saved in the documents folder? If yes, kindly suggest how to accomplish this. I'm trying to save a file in AppDelegate, but ...
Prashant's user avatar
  • 336
0 votes
0 answers
60 views

How would I go about telling NSXMLParser to stop parsing a particular node, and just return all the inner content as a string? for example: <doc> <hello><yes>no</yes><...
gypsyDev's user avatar
  • 1,299
0 votes
1 answer
2k views

i'm getting xml type of response from server but i'm unable to get the value by parsing do no where i am missing something This was the sample Response from server : <admin> <logindetails ...
batMan007's user avatar
  • 591
-1 votes
1 answer
464 views

I tried to parse the "media:group" tag manually or via FeedKit swift. But getting the nil response for this. Please let me know how to parse this tag. This is url of rss feed http://www.rollingstone....
Gopal Devra's user avatar
-3 votes
1 answer
230 views

I am using a XMLParser Library. I have a xmlDoc and I don't know how can handle some tag values. For example: <item> <title>.....</title> <description>....</description> ...
Mayday's user avatar
  • 197
-1 votes
1 answer
441 views

I have this code in an iOS Playground (Swift 3, Xcode 8.2.1): import UIKit import PlaygroundSupport PlaygroundPage.current.needsIndefiniteExecution = true class ParserDelegate: NSObject, ...
Zev Eisenberg's user avatar
0 votes
1 answer
35 views

Im new to Objective-C and XML please help me with my simple problem. I have this XML file.XML sample file I want to put the parsed XML to NSDictionary. The problem is that the result is like this ...
tedd's user avatar
  • 65
1 vote
0 answers
36 views

Good day, the problem is this - I have to get a string from the server: שיעור ראשון - הרב חגי לונדין but when try do NSLog i saw - ׳¢׳¨׳•׳¥ ׳׳׳™׳¨ - ׳׳•׳׳׳¦׳™׳ ׳“׳£ ׳”׳‘׳™׳× or \U05f3\U201c\U05f3\...
Lipatov Eugen's user avatar
1 vote
1 answer
62 views

i have 2 screens ,in 1 st when i click a button it should go to 2 nd screen get data from server and display in table view in 2 nd screen.but with following code i am unable to display data in table ...
Nishanth's user avatar
0 votes
1 answer
65 views

So I've been struggling with this for longer than I care to keep track of. I've parsed the elements I need, but i cant figure out how to call'em on the other classes. Here is the custom class i ...
Joe Sene's user avatar
  • 139
0 votes
1 answer
96 views

I'm parsing a text received in json, and when the function parser of NSXMLParser receive the NSString, sometimes, if the end word is the last word, in the next time join the next word, and it is ...
user3745888's user avatar
  • 6,363
0 votes
0 answers
89 views

I'm exhausted, have no idea what's going on. private var _parser: XMLParser = XMLParser(); public var delegate: ModelFactoryDelegate?; override internal func response() -> Bool { print("...
danilabagroff's user avatar

1
2 3 4 5
26