Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NSXMLParser help pls!
pecer21 Offline
Newbie
*

Posts: 1
Joined: Dec 2012
Post: #1
NSXMLParser help pls!
I have this XML code:

<item>
<title><![CDATA[Gate by JosephHart]]></title>
<link>http://www.sxc.hu/photo/1406369</link>

<description>

<![CDATA[<a href="http://www.sxc.hu/photo/1406369"><img src="pic/s/j/jo/josephhart/1406369_gate.jpg" /></a><br /><br />An iron gate in an old cemetery.]]>

</description>

<pubDate>Wed, 05 Dec 2012 19:01:11 +0100</pubDate>
</item>


I used didStartElement method to log the starting tags within item tag, but there were only 4 tags: title, link, pubDate, description.

The link and image tag is inside the description tag. How can I get them?

Thanks for help!
2012.12.06 09:22 AM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)