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: 
<http://www.edumobile.org/iphone/iphone-programming-tutorials/parsing-an-xml-file/>
This helped me...Crate .h and .m from the XMLParser.h and .m then just copy paste the code in it. and use the cell creation function as given in example.
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.