How to automatically detect a namespace in the root label, to then extract its value into a variable and be able to loop through the elements

thanks so much @ppr You are fantastic!