Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

XML Parsing of <![CDATA

Hello,

 

when parsing XML data, Alteryx does not recognise <![CDATA as being data. This type of XML file is not very common yet is still used today (by me anyway!). Their role is similar to commenting your code in some regards (for those who code).

 

Could it be possible to add a functionality to alteryx so that we can have it consider the data between these "tags" to be data? 

 

Regards,

 

Julien

 

 

5 Comments
Ned
Alteryx Alumni (Retired)

CDATA tags certainly parse as data. If you take this:

<a>Outside CDATA&colon; <![CDATA[Testing123&456]]></a>

and run it through the XML parse tool, you get this:

Outside CDATA&colon; Testing123&456

 

JulienGodenir
5 - Atom

Hello,

 

Sorry to re-open the case but with all due respect, Alteryx does not seem to be able to differentiate a < or a > when it is inside a CDATA tag. In my experience, Alteryx solely removes CDATA when parsing the XML and then treats the data as usual. I get errors every time a <, >, or & character is present inside a CDATA tag.

 

Is there something I am missing?

 

It has been some time now that I left this in the 'to-do-later' box because I felt I would come up with an elegant solution in due time. Yet all I managed to do is a basic replace on all & characters (I can't do a replace to < and > chars obviously).

 

I can try to create a small workflow with this issue if you want...

AngelaO
Alteryx Alumni (Retired)

Julien found a solution which was pretty simple in the end. Since CDATA is not well formatted XML, Alteryx returns an error when special characters are found. But switching the XMLparse tool to "ignore XML errors and continue" did the job!

Community_Admin
Alteryx
Alteryx
Status changed to: Inactive
 
Community_Admin
Alteryx
Alteryx

The status of this idea has been changed to 'Inactive'. This status indicates that:

 

1. The idea has not had activity in the form of likes or comments in over a year.

2. The idea has not reached ten likes.

3. The idea is still in the 'New Idea' status. 

 

However, this doesn't mean your idea won't be implemented! The Community can still like and comment on this idea. With enough renewed interest, this idea can be brought back into the 'New Idea' status. 

 

Thank you for contributing to the Alteryx Community and the Alteryx Product Idea Boards!