I'm continuing the problem from this question. The task is to search through the mb nodes for the model attribute with a certain value, then filter out the ones that did not match the value attribute in the dmiattr element. Once filtered, I need to capture a list of values from the rev attribute . I've made some progress. I am able to match against the model attribute and capture the values of the rev attribute.

But I am having difficulty drilling down to the child dmiattr . I think I have almost all the correct functions, perhaps not the correct combinators. And maybe the logic of my code is wonky too. I'm not sure where it goes wrong. Feedback approciated.