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

Also have a look here for getting all CBC elments when direct next level under root:


can be used for a loop within for each

For a prototype (assuming some contstraints) we can create a Lookup Dictionary like: