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
Hello Erdogdu, I am very sorry for the late answer, The answer is Yes, it&apos;s fix . my suggestion, if possible to be setting with bank fee code ...
09:24 23 July 2024
Andis Blicāns, Grasko
The above applies to the window when it is opened for the first time. If the window is already open and I choose Window/Restore Position, the window takes the correct position. Namely, the upper left ...
00:43 18 July 2024