On Saturday 24 June 2006 19:49, Martin Aspeli wrote:
>    In this case, having the ability to select nodes by XPATH would be
> incredibly useful - both for getControl()/getLink(), and for doing
> assertions (fail if/unless this node exists). I imagine an existing
> library would be available to make this reasonably easy to implement?

Yes, I have done that in SchoolTool already. It uses straight libxml2, so no 
fancy lxml or ElementTree, but it works well. We use it far too little. The 
code is here:


And here it is used:


Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to