title: How to parse html using XPath and Swift 2.0?
body: <p>I am trying to parse some data form a website but I just can't get it working.</p>
  
  <p>I tried NDHpple, TFHpple, Kanna all of them without success.</p>
  
  <p>I want to parse: </p>
  
  <pre><code>&lt;td class="date"&gt;17:08&lt;/td&gt;
  </code></pre>
  
  <p>And the XPath I get to it, using Firebug, is:</p>
  
  <pre><code>/html/body/section/div/section/article/div[1]/div[2]/div/table/tbody/tr[1]/td[1]
  </code></pre>
  
  <p>Right now I am using Kanna and my code is this:</p>
  
  <pre><code>@IBAction func btnLoadData(sender: NSButton) {
  
      if let doc = Kanna.HTML(url: (NSURL(string: "the_site_url")!), encoding: NSUTF8StringEncoding) {
  
  
          // Search for nodes by XPath
          for link in doc.xpath("/html/body/section/div/section/article/div[1]/div[2]/div/table/tbody/tr[1]/td[1]") {
              print(link.text)
              print(link["href"])
          }
      }
  }
  </code></pre>
  
  <p>So, anyone can help me?</p>