Get name of current element

You could look at using the FindChildren activity and set it to Find Descendants.

This will output all possible elements as a datatable and you can access details of each using a For Each loop and the Get Attribute activity.