CDATA in XML
Paul Timms
8-31-18
I am parsing some XML data which contains a !CDATA section. This section is not being parsed correctly. For example, with this XML:

<Product>
<Description>
<![CDATA[EX BK A4+ PLAIN PURPLE 40PG BX50]]>
</Description>
</Product>

If I use this:
adata = XMLGet(xdata,"/Product/Description");

adata returns ]]>

If I use XMLCountChildren on "Product/Description" it returns 0.

So, I don't think Standard ERP is capable of parsing CDATA sections. Is that correct?
Paul Timms
7-24-18
Well it seems that even this forum doesn't like it! Let's try this, with curly brackets rather than < and >.

{Product}
{Description}
{![CDATA[SLAZENGER V200 PANTHER BAT S/HANDLE]]}
{/Description}
{/Product}
Tomas J.
7-25-18
Hello,

No, Standard ERP does not support CDATA sections.

Regards,

Hansaworld support
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Gatis Jansons
Hi, Piotr. There is a setting in general about refreshing: TC &gt;&gt; Timed Operations &gt;&gt; Seconds Between Browse Updates But it does not cover Task Manager. However there is an appr...
14:46 14 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL&gt;&gt;Reports&gt;&gt;Periodic customer statement &quot;accumulates&quot; amounts Not sure why it was duplicated, I clicked &quot;submit&quot;only once....
08:09 10 May 2024