Re: help getting started with xpath
Stefan Behnel <[email protected]> Tue, 21 Jul 2009 17:27:50 +0200
| Newsgroups | gmane.comp.python.xml |
|---|---|
| Message-ID | <[email protected]> |
Bo Laurent wrote: > I'm new to lxml. I've parsed a simple document, as shown below. But I > every simple xpath() expression I try returns empty list. What am I > doing wrong? Perhaps I need to spec the namespace to the parser? Yes, exactly. See here: http://codespeak.net/lxml/xpathxslt.html#xpath Stefan _______________________________________________ XML-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/xml-sig