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?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Bror-Erik Kotiranta
I will have a programmer answer this one, I do not have the full answer for this...
14:23 25 Jan 2025
Bror-Erik Kotiranta
I meant that file you were looking it, forgot the actual name sorry about that. But that file, if you change the IP to the correct one, does it then connect?...
14:21 25 Jan 2025