ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

How to Dynamically Parse All Child Nodes with XML Parse Tool?

MARD_BT
Átomo

Dear Alteryx Forum, I’m trying to use the XML Parse Tool to extract all child nodes of a given parent node. So far, I’ve only found options to retrieve a single child by specifying Specific Child Names or using Auto Detect Child.

What I need is a more dynamic approach that works across different XML structures—even when the parent node is at varying levels or when child nodes have different names. Essentially, the solution should not rely on predefined child names and should adapt to changes in the XML hierarchy.

Has anyone implemented something like this or found a workaround?

Thanks a lot for your help.

Martin

1 RESPONDER 1
NeoInfiniTech
Bólide

Hi @MARD_BT,

 

I recently developed a macro named NeoInfiniTech XML Parse that contains an XML parser I developed from scratch and parses all elements and attributes into a flattened tabular format while assigning a HierarchicalRecordID to all records.

 

Please take a look at it and see if it meets your needs.

Rótulos
Autores com maior número de soluções