Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transforming >><<text message>><< this kind of message into CDATA

 
Vaijan Hundlekar
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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[&amp;gt;&amp;gt;&amp;lt;&amp;lt;text message&amp;gt;&amp;gt;&amp;lt;&amp;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?

please help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic