The solution mentioned converts the XML to a dataset, which is going to be a collection of datatables. This is a good solution if, as the original question asked, you want to extract out ALL data from the XML, flatten it out, and paste it into excel. Note that you’d want to loop through each datatable in the dataset if there are multiple children in the XML, as each child becomes one datatable when converting XML to dataset.
If you are trying to extract out specific values, it is much better to use deserialize XML activity instead. This allows you to navigate the document and choose specific elements, nodes, values, etc from the XML document and also allows you to use XPath expressions.