Thursday, July 23, 2015

XML Parse issue and XML issue with Special characters or & issue in XML



When ever in XML we got & it give error. XMl wont parse. So we need to use CDATA for the fileds which has problem fields.

Ex1:
<![CDATA[
while (x < len && !done) {
    print( "Still working, 'zzzz'." );
    ++x;
    }
]]>
Ex2:
<![CDATA[sadad8757698798(*^*&^%&^$]]>

No comments:

Post a Comment