Questions tagged [gdataxml]

Questions about GDataXML, Google’s XML processing library, may have this tag.

63 questions
2
votes
1 answer

How to access nodes within nodes GDataXML

Below is some sample XML showing the basic setup I am trying to parse. So far I can easily extract the data for tasks, task, title, hint, exercise and text as well as grabbing the attribute type in exercise. However I cannot for the life of me…
user7865437
  • 812
  • 14
  • 28
2
votes
1 answer

#import file not found after xcode 6.1 update

I am getting lexical or preprocessor issue i.e file not found after xcode 6.1 update. i have followed below stack overflow solution but no luck. #import file not found after xcode update i found libxml2.2.dylib --> it is created…
user3714144
  • 159
  • 3
  • 13
2
votes
0 answers

How to append OTHER_LINKER_FLAGS in xcconfig

I am using GDataXML, which requires // libxml includes require that the target Header Search Paths contain // // /usr/include/libxml2 // // and Other Linker Flags contain // // -lxml2 In my xconfig, I have done the first part with…
Juguang
  • 621
  • 2
  • 5
  • 15
2
votes
1 answer

Create and populate on the fly a nested NSMutatbleDictionary from tree like structure

I am having a hard time trying to create and populate on the fly an NSMutableDictionary from a tree like structure. Let's say you have a node where node.attributes retrieves an NSArray of key/value pairs and node.children retrieves an NSArray of…
rraallvv
  • 2,875
  • 6
  • 30
  • 67
1
vote
1 answer

Parse tag that lies within the of an rss2 feed item

What I try to accomplish is get the src attribute of an RSS2 feed item using GDataXML. The feed's item xml is like this: BlackBerry EMEA servers crash http://www.mysite.com/?p=672 …
Gerhat
  • 823
  • 1
  • 10
  • 14
1
vote
1 answer

iPhone SDK: XML mystery, after adding child nodeforXPath returns nothing (found a hacky solution)

I have a big mystery here, I have a Gdataxml document property: GDataXMLDocument *doc; I'm adding a new element to doc, interestingly, this method below looks perfect for other elements but not for the element I just added: GDataXMLElement…
Spring
  • 11,333
  • 29
  • 116
  • 185
1
vote
0 answers

Parsing XML on iPhone with GDataXML

Ugh, I'm having a dickens of a time parsing xml from Exchange Web Services. I want to get the ItemID Id=xyz attribute (AAATAG...). Here is the XML:
coopermj
  • 531
  • 4
  • 16
1
vote
1 answer

Objective-C nodesForXPath returns all results

this is a follow up to a question I posted yesterday. Given the cars XML example posted below, I run do an xpath query, loop through the results and call "quickquery - getString" with the sub element. I would expect that with each iteration of the…
Craigt
  • 3,418
  • 6
  • 40
  • 56
1
vote
1 answer

how to use GDataXML or something like DOM parser in swift?

how to use GDataXML or something like DOM parser in swift ? (not NSXMLParser) I need to parse xml for listing data as well to set value in xml on selected node reference. Any reference of code or link would be most appreciated.
Ruchi
  • 5,032
  • 13
  • 59
  • 84
1
vote
1 answer

GDataXML nodesForXPath on Node contains items of entire GDataXMLDocument

I am trying to create an iOS app which (besides a few other things) needs to load in the content of a Wordpress-Page When I use the getPosts feature from Wordpress's XML-RPC feature, I get the following returned:
Kevin Grabher
  • 399
  • 1
  • 4
  • 18
1
vote
1 answer

change the version in GDataXML

When I generate the XML using GDataXML by following this tutorial http://www.raywenderlich.com/725/xml-tutorial-for-ios-how-to-read-and-write-xml-documents-with-gdataxml and saved that to documents folder. After opening that file from documents…
Sharme
  • 625
  • 4
  • 10
  • 28
1
vote
1 answer

change attribute value in xml in Objective C using GDataXML

I want to change attribute value of this XML I want to change state value from 0 to 1 and vice versa dynamically. Also I want to change "value" and "dimspeed" dynamically. But I…
ani
  • 245
  • 5
  • 21
1
vote
1 answer

Move XML element to different position with GDataXML

I'm current using Google's GDataXML library to manipulate XML in my iOS app. The xml is used to populate a table view, so one thing I'd like to support (but current don't) is the ability to move a row in the table view to a different spot using…
Eric Amorde
  • 1,068
  • 9
  • 19
1
vote
1 answer

write to EXI format xml on ipad

I have a requirement to read and write xml files in w3c format on an ipad app. In my previous app I read basic xml files using GDataXML and that worked exactly as I needed. Can I use the same GDataXML to read and write xml files in w3c format…
hamza h
  • 355
  • 1
  • 4
  • 12
1
vote
1 answer

Parse RSS by GDataXML

I want to parse rss that have child with the same name but different value. In this case, i want to parse the value from child name 'category'. Here's the RSS Format: HAC Algorithm by…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/iphone" class="post-tag grid--cell" title="show questions tagged 'iphone'" rel="tag">iphone</a> <a href="../../questions/tagged/objective-c" class="post-tag grid--cell" title="show questions tagged 'objective-c'" rel="tag">objective-c</a> <a href="../../questions/tagged/rss" class="post-tag grid--cell" title="show questions tagged 'rss'" rel="tag">rss</a> <a href="../../questions/tagged/gdataxml" class="post-tag grid--cell" title="show questions tagged 'gdataxml'" rel="tag">gdataxml</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 24 '12 at 09:15">asked Sep 24 '12 at 09:15</time> <a href="../../users/1657517/kalvin" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1657517.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Kalvin" /> </a> <div class="s-user-card--info"> <a href="../../users/1657517/kalvin" class="s-user-card--link">Kalvin</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">77</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="9 bronze badges">9</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/gdataxml_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/gdataxml_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/gdataxml_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/gdataxml_page=4" rel="" title="Go to page 4">4</a> <a class="s-pagination--item" href="../../questions/tagged/gdataxml_page=5" rel="" title="Go to page 5">5</a> <a class="s-pagination--item" href="../../questions/tagged/gdataxml_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>