Re: [XML-SIG] help getting started with xpath

2009-07-21 Thread Stefan Behnel
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#xp

[XML-SIG] help getting started with xpath

2009-07-21 Thread Bo Laurent
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? http://soap.sforce.com/2006/04/metadata";> * CustomObject