title: iPhone HTML Parsing using TouchXML and tidy
body: <p>I'm trying to parse HTML using <a href="https://github.com/schwa/TouchXML" rel="nofollow">TouchXML</a>. However, it seems that the data I want to parse (I do not control the source, it's downloaded from the internet) is partially malformed - I get various errors during the parse. Therefore, it seems that I should be using the inbuilt tidy support to fix the HTML but I cannot seem to find any documentation or information on how to enable it or link libtidy successfully into my project.</p>
  
  <p>If anyone has any information on how to do this, it'd be much appreciated. Alternatively if there's another tool I could be using to do this - do tell me!</p>