in reply to XML::XPath doesn't validate XML???

People sometimes use the XPath module to parse regular old html though. That'd be fairly impossible for random web pages off the net if it wouldn't let you do it without validating.

I think having to use a an XML parser to validate makes sense really, since XPath is about finding the stuff and parsers are about validating... I could be picturing it wrong, but that makes sense to me.

-Paul