#101 XMLElement:find(Predicate<XMLContext> predicate)

Отворени
отворен преди 2 години от ranides · 0 коментара
ranides коментира преди 2 години

We should implement recursive scan of whole subtree, filtered by predicate.

If Predicate is instance of XMLSelector, we should do exactly the same as to already implemented "find(XMLSelector)" function.

Maybe to make everything easier we should implement descendants method, which returns unfiltered CQuery with whole subtree and then simply apply filter?

We should implement recursive scan of whole subtree, filtered by predicate. If Predicate is instance of XMLSelector, we should do exactly the same as to already implemented "find(XMLSelector)" function. Maybe to make everything easier we should implement `descendants` method, which returns unfiltered CQuery with whole subtree and then simply apply filter?
Впишете се за да се присъедините към разговора.
Няма етап
Няма изпълнител
1 участника
Зареждане...
Отказ
Запис
Все още няма съдържание.