[PyKDE] Re: [lxml-dev] ANN: XPathEvaluator 0.1.0

Andreas Pakulat apaku at gmx.de
Wed Jun 21 20:42:04 BST 2006


On 01.06.06 23:51:15, Andreas Pakulat wrote:
> as per Stefan's request I'm announcing here (and on the PyQt mailing
> list) the first release of a small tool I "just" (i.e. the last 3 days)
> wrote.
> 
> XPathEvaluator is a tool to test what results a XPath expression gives
> you when executed on a specific XML file. With the help of lxml it can
> also parse pretty broken (and of course correct) HTML files. It loads
> it's data from URLs if you want and highlights all nodes that an XPath
> evaluation returns so you can easily identify them.

I'm not sure wether this is still apropriate on this list, if anybody is
annoyed by these mails please let me know and this will be the last one
regarding this topic.

I just finished adding some "neat" stuff to XPathEvaluator, two tabs to
display a list of results from the xpath evaluation and a window to
display any errors that are thrown. This also makes it possible to jump
to a result node by just doubleclicking it in the result tab. 

Of course with lxml-implementation this only works for element nodes,
not for attributes or text nodes.

I also started to build a libxml2 model, unfortunately those bindings
really have some problems (and I don't mean the c-ishness here) so that
is not available atm (well the tree-view works, but not the xpath
evaluation). This will be in the next release together with some other
slight improvements.

Andreas

-- 
You work very hard.  Don't try to think as well.




More information about the PyQt mailing list