On Feb 11, Sébastien Ragons <srag...@gmail.com> wrote:

> I try to test imdbpy and have difficulties whith Extrator.

Woah!  That's an unusual request. :-)
That set of extractors were meant to be used internally by
IMDbPY: the fact that someone else is using it for another
pourpose is just another sign of the excellent work of Turgut!

In fact your code works as-is for me, but notice this:

>     <employe num="1">
  [...]
>                     path="//employer",

In the XML (by the way: don't forget to close the outer "employes" tag...)
you're using "employe", while in the code "employer".
Changing one of these, will fix your problem.

Anyway, keep in mind that DOMParserBase was thought to parse
HTML pages, and is somewhat tailored to the information we need
to retrieve for IMDbPY.


HTH,
-- 
Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47]
http://www.mimante.net/

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to