Question: I want to do something very simple - read a XML from the web and then show (in a TableView) the contents of the `titulo` in the xml.

Here's what it looks like: 

```
  <?xml version="1.0" ?> 
  <lista>
  <edicao>
  <ano>2011</ano> 
  <mes>1</mes> 
  <titulo>01/2011</titulo> 
  <file>01-2011.pdf</file> 
  </edicao>
  <edicao>
  <ano>2010</ano> 
  <mes>4</mes> 
  <titulo>04/2010</titulo> 
  <file>04-2010.pdf</file> 
  </edicao>
  </lista>

```

I've searched a lot, but I was unable to find how to do it. Most of the examples already had a class named `XMLParser` that I don't know how to create. I looked at the libraries too, but I just can't find out how to do it. If anyone can advise me how to do this it would be great. Thank you!

Answer: 
There is already a great library out there that makes it really easy to parse XML files.

It is called TouchXML and you can find it on github [here](https://github.com/TouchCode/TouchXML).

There are a bunch of tutorials online but is is very easy to use.

[This](http://dblog.com.au/general/iphone-sdk-tutorial-building-an-advanced-rss-reader-using-touchxml-part-1/) is the one I learned with.
Use the NSXMLParser class with the NSXMLParserDelegate methods. You must be init the parser:

```

NSXMLParser *parser = [[NSXMLParser alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://www.site.com/example.xml"];
parser.delegate = self;
[parser parse];

```

And use the delegate methods.