Closed kkuriata closed 2 years ago
Ok, I have just found out that it doesn't work only with version 0.7.0
- on 0.7.1
everything is fine.
Ok, I have just found out that it doesn't work only with version
0.7.0
- on0.7.1
everything is fine.
Hi, to which package versions 0.7.0
- 0.7.1
refer?
I use
elementpath
withdefusedxml.ElementTree
and it basically works fine until I want queries to be relative.For example:
I expect this code to return
["1"]
forelement@id = 1
and["3", "5"]
forelement@id = 2
. Unfortunately, it returns["1", "3", "5"]
for each element. It looks likeselect(el, ...)
behaves the same asselect(root, ...)
. Of course we can change our query to precise which element we want, but the problem is when we have e.g. 50k of elements, then this query takes forever to finish. That's why I wanted to search through each element separately.