This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.



Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Boost this thread!