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
Piotr Wycichowski
Hi, I need very quick support. We&apos;ve just upgaraded our SERP from version 250507/85558691 to 260126/85561335 (on Mac server). When server process was started, the folder EmailGateway was autom...
08:56 10 Mar 2026
Hi Bror-Erik, Thanks for your reply. We&apos;ve done further testing and we&apos;ve discovered that it is only my Windows 11 laptop that has this message about downloading components. Other coll...
12:04 27 Feb 2026