The structure of the actual XML data looks like the screenshot in the above.
Here is sample data XMLSample.txt (3.9 KB)
Please let me know if you’d need more information. Thanks!
Can you try the following sample? I modified the xml file a little because it’s not valid xml.
And this sample assumes there is always an element for each target.
If you need to extract Location_Hierarchy which has type attribute is “Organization_Reference_ID” and location which has type attribute is “Location_ID”, the following will help you. (I cannot get which attribute should extract about Action_Event from the above sample.)
It works with the attributes you added as an example. However, for those three columns (Action_Event, Location_Hierarchy, location ), the values in front of descriptors are needed. From → Original XML structure
here is the source XML (the same file I shared yesterday) XMLSample.txt (3.9 KB)
here is the expected result ExpectedResult.xlsx (10.4 KB)
Thanks a lot!