Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

conversion from xml to csv

Inactive User
Not applicable

I used XML parse tool to convert xml file to csv file. However, I am getting the error "No Root Element". Can someone tell me what that means and how to resolve it?

3 REPLIES 3
PhilipMannering
16 - Nebula
16 - Nebula

It means your xml isn't all contained within one element.

This does not have a root element,

 

<head></head><body></body>

 

This does have a root element,

<root><head></head><body></body></root>

 

You can add a root element in the Formula Tool,

'<root>' + [my_xml_field] + '</root>'

before using the XML Parse Tool.

 

If you're still having problems, feel free to attach an example.

 

PhilipMannering
16 - Nebula
16 - Nebula

Hi @Inactive User 

 

Did my solution solve your particular issue?

Inactive User
Not applicable

This is all very new for me. I'll ask someone o look at your reply and help me. Thank you!

Labels
Top Solution Authors