title: TBXML - Error Handling
body: <p>Hey everbody. How can i handle a error with the TBXML? I mean, if dont find the file, or what else. Actually, my app just crashes when i turn off the server where the file is.</p>
  
  <p>So, how can i handle that?</p>
  
  <pre><code>- (void)viewDidLoad {
  
      TBXML * tbxml = [[TBXML tbxmlWithURL:[NSURL URLWithString:@"http://localhost/dev/mcomm/produto.xml"]] retain];
      TBXMLElement * rootXMLElement = tbxml.rootXMLElement;
  
  
  
  }
  </code></pre>
  
  <p>Thanks!</p>