It work fine on Tiger, but doesn't work on Leopard.
Leopard return nothing for cNodes...
I know there were minor changes to libTidy and XQuery in 10.5, but I
wouldn't think those would affect what you're doing.
* Does the document load at all? (Is htmlFileDoc non-nil?)
* If you convert the doc back to a string, does it look like it
contains the nodes you're querying for?)
* What is the error message (if any) in the 'err' string after the
nodesForXPath: call?
* What's the XPath expression?