Associate
Which is these is the correct use of CDATA in XML?
or
I'm thinking it's the 2nd one as the tags are outside of the CDATA, whereas in the first one the tags are inside and so will just be treated as text
Thanks.
Code:
<![CDATA[<AddressLine1>1 Arcacia Avenue</AddressLine1>]]>
or
Code:
<AddressLine1><![CDATA[1 Arcacia Avenue]]></AddressLine1>
I'm thinking it's the 2nd one as the tags are outside of the CDATA, whereas in the first one the tags are inside and so will just be treated as text
Thanks.