From: Mark Thomas Date: 2009-08-01T12:25:04+09:00 Subject: Re: : Can't find nodes using XPath, namespaces mess As Matt said, the document is not well-formed XML. Try adding the RECOVER option to the parser, which tells libxml to ignore syntax errors like that.