In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Need help to Extract data: Input as multiple .XML file, Output as .yxdb file

ibrahimkhalil
6 - Meteoroid

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

2 REPLIES 2
danilang
19 - Altair
19 - Altair

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.

 

Solution.pngNote: the workflow expects the input file to be in the same directory and writes the 2 outputs there as well.

 

Dan

ibrahimkhalil
6 - Meteoroid

@danilang, Many thanks mate. Its working perfectly.

I need to learn how you build those steps.

Labels
Top Solution Authors