Alteryx Designer Desktop Discussions

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

Deriving XML child elements from URL

Wafarian
8 - Asteroid

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 REPLIES 4
ShankerV
17 - Castor

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
8 - Asteroid

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
8 - Asteroid

This is the result that I am expecting

Wafarian
8 - Asteroid

Hi,

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

 

 

Labels