title: Finding a node (or close to it) using XPath in non well-formed HTML
body: <p>I'm using XPath to locate a node (or something close to it) in a template that has non-well-formed HTML about 10 levels deep.  (No I didn't write this HTML...but I've been tasked to dig through it.)  </p>
  
  <p>I seem to be able to retrieve an XPath to the element in question using the XPartner add-on for Firefox; however it only gives me the location in the live site, and not in the template I've been given.  (The template is from a non-standard server-side scripting language; read a language built in-house)</p>
  
  <p>Are there any XPath tools you know of that are particularly good at muddling through non well-formed HTML.</p>