Overpass: Getting all ways and nodes of a relation

Hi there,

for technical reasons I need to extend such a query


so that ot returns not only the relation itself, but also each node and way of a relation separately, as well as all member nodes of the relations ways.

This one returns all relation ways separately:


This one returns all relation nodes separately:


Ho can I combine both?


does not work, unfortunately. Or am I missing something?

Thank you!

Kind regards

Maybe try:


Thank you, that worked!