views:

70

answers:

1

For the last few hours I have tired to get my head around using NSXMLParser.

I understand parts of how it works.

WHY Oh WHY! is this so hard? Is there an easy way to do it, like just name the tag and get the contents?

Oh how I miss XmlDocument object from .Net.

Thanks a million.

+2  A: 

Why don't you try NSXMLDocument instead? With it you can do the kind of things you want using xpaths. Check out the docs or this sample code : http://developer.apple.com/mac/library/iPad/index.html#samplecode/XMLBrowser/Introduction/Intro.html%23//apple_ref/doc/uid/DTS40008875

GorillaPatch