Stefan Behnel <stefan...@behnel.de> added the comment:

Well, there's XPath for a standard:
https://www.w3.org/TR/xpath/

ElementPath deviates from it in its namespace syntax (it allows "{ns}tag" where 
XPath requires "p:tag" prefixes), but that's about it. All other differences 
are basically needless limitations of ElementPath.

In fact, I had noticed these two limitations in lxml, so I implemented them for 
the next release. And since ElementPath in ElementTree is still mostly the same 
as ElementPath in lxml, here's the same thing for ET.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to