<[EMAIL PROTECTED]> wrote:

> I'm using ElementTree from effbot (http://effbot.org/zone/element.htm)
> and I'm having some problems finding nodes that have the same name. I
> know in XPATH, we can use an index to identify which node we need, but
> it seems to be invalid syntax if I give "/a/b[0]" to the findall()
> method. Does anyone know the correct syntax?

the XPath subset supported by ElementTree is documented here:

    http://effbot.org/zone/element-xpath.htm

for more extensive support, see Ken Rimey's PDIS toolkit:

    http://pdis.hiit.fi/pdis/download/

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to