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

Avoinna
2 vuotta sitten avasi ranides · 0 kommenttia
ranides kommentoitu 2 vuotta sitten

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?
Kirjaudu sisään osallistuaksesi tähän keskusteluun.
Ei merkkipaalua
Ei osoitettua
1 osallistujaa
Ladataan...
Peruuta
Tallenna
Sisältöä ei vielä ole.