From: Stefan B. <bo...@ap...> - 2015-02-12 19:41:01
|
On 2015-02-10, Stefan Bodewig wrote: > one could use something like > byXPath(".//a", byNameAndText) > ... The corresponding selector > would run the Nodes returned by evaluating the XPath through a > comparison process and match the elements if all nodes returned could be > matched. I've committed a first version of this. It works but likely isn't performing too well because of repeated XPath evaluations inside the same context - some memoization could help if the number of elements to compare is big. > But I'm not sure this really is easy enough to understand and I'm afraid > it would become repetitive. So a better idea is more than welcome. This still holds true :-) Stefan |