I'm trying to loop over an expression like this changing the string 'question-hyperlink' to an item in a list I'm new to groovy and can't find a way that works. Do you really have to hard code this ? Every example I can find is hardcoded
.find{ it.@class == 'question-hyperlink'}it.book.title