[lxml-dev] ObjectPath for "current node"

Christian Zagrodnick cz at gocept.com
Mon Apr 2 17:56:45 CEST 2007


Hoi,

in the object paths can be relative, like '.foo.bar'. Shouldn't it be 
possible then to create the object path of '.' referencing the current 
node?

There would be a more general way to use path.find and path.setattr 
then. At least for me anyway :)


-- 
Christian Zagrodnick

gocept gmbh & co. kg  ·  forsterstrasse 29 · 06112 halle/saale
www.gocept.com · fon. +49 345 12298894 · fax. +49 345 12298891





More information about the lxml-dev mailing list