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.
RESUELTAS

Deriving XML child elements from URL

Wafarian
Asteroide

Hello,

I have a URL that has XML structure and would like to get also the child elements for a particular field.

 

In the example below, I would like to get the from structure as a field so that I can filter on the values. 

<note>
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
 
My table structure should be as follows,
 
note to from heading body
 
At the moment, I am only getting note field with a message "the cell has trailing spaces and embedded newlines"
 
thanks,
4 RESPUESTAS 4
ShankerV
Cástor

Hi @Wafarian 

 

One way of doing this.

 

ShankerV_0-1678879636511.png

 

Input was:

ShankerV_0-1678879679932.png

 

ShankerV_1-1678879718418.png

 

Many thanks

Shanker V

Wafarian
Asteroide

Hi,

 

thanks for your input. 

 

It doesn't help me as I would like to split it to columns. I have chosen split to columns but it gives empty values.

 

thanks

Wafarian
Asteroide

This is the result that I am expecting

Wafarian
Asteroide

Hi,

I got it to work by parsing multiple XML parser by checking return outer XML each time. 

 

 

Etiquetas
Autores con mayor cantidad de soluciones