Re: lxml validation and xpath id function

2008-07-02 Thread Stefan Behnel
Floris Bruynooghe wrote: > I'm trying to use the .xpath('id("foo")') function on an lxml tree but > can't get it to work. Quick follow-up: this has been answered on the lxml mailing list: http://comments.gmane.org/gmane.comp.python.lxml.devel/3815 Stefan -- http://mail.python.org/mailman/listinf

lxml validation and xpath id function

2008-06-30 Thread Floris Bruynooghe
Hi I'm trying to use the .xpath('id("foo")') function on an lxml tree but can't get it to work. Given the following XML: And it's XMLSchema: http://www.w3.org/2001/XMLSchema"; elementFormDefault="qualified"> Or in more readable,