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

Ouvert
Créé il y a 2 ans par ranides · 0 commentaires
ranides a commenté il y a 2 ans

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?
Connectez-vous pour rejoindre cette conversation.
Aucun jalon
Pas d'assignataire
1 Participants
Chargement…
Annuler
Enregistrer
Il n'existe pas encore de contenu.