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

Öppen
öppnade 2 år sedan av ranides · 0 kommentarer
ranides kommenterad 2 år sedan

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?
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.