Transforming >><<text message>><< this kind of message into CDATA
posted 8 years ago
In one of our program we transfer one xml format to other xml using a xslt and sax parser.
but while tranfering data from one of the node if the message is in >><<text message>><<
this format it takes it as <!CDATA[&gt;&gt;&lt;&lt;text message&gt;&gt;&lt;&lt;]]>
something like this, i think the xslt transformer or sax parser converts > & < characters.
Now the problem is we dont want it to take it as CDATA since this tag is nested in one big tag and in next transformation of xml it shud take the the big tag in CDATA and at the end wat happens is the nested CDATA and thus last xml creates a problem.
is there any way for the message >><<text message>><< to process as normal data and not the CDATA?