G'Day Everyone,
I'm a Alteryx learner.
Trying to extract data from .xml file to a .yxdb file.
I'm trying but unable to configure Input data and XML Parse to get desired data.
Please have 2 attachments for input and output.
Thanks in advance.
Regards,
Ibrahim
Solved! Go to Solution.
G'day @ibrahimkhalil
Here's a workflow that generates your 2 output .yxdb files, one flat with one record per row as per your sheet 1 and the other transposed. The trick when dealing with .xml files is to parse them incrementally starting at the highest level and work your way downward. The various Select tools are there to remove unneeded higher level xml strings to stop the memory requirements of the workflow from exploding.
Note: the workflow expects the input file to be in the same directory and writes the 2 outputs there as well.
Dan
@danilang, Many thanks mate. Its working perfectly.
I need to learn how you build those steps.