ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to add CDATA

Post new topic  Reply to topic
 How to add CDATA « View previous topic :: View next topic » 
Author Message
dsmq
PostPosted: Tue Jun 24, 2003 9:31 am    Post subject: How to add CDATA Reply with quote

Acolyte

Joined: 20 Jun 2002
Posts: 59

Hi

I am adding CDATA to my out going XML message

Ex

SET OutputRoot."XML"."Data" = '<![CDATA[' || 'Message' || ']]>' ;

Now the Problem is '<' and '>' these are coming as
&lt; and &gt; in the Queue
so my Out put Msg in the Queue will be

<Data>&lt;![CDATA[' || 'Message' || ']]&gt;</Data>

is there any way to put these ' <' and '>' as it is in the Queue

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Jun 24, 2003 9:47 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Why not do this
Code:
Set OutputRoot."XML"."Data".(XML.CDataSection) = 'Message';

instead of worrying about '<' and '>'?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to add CDATA
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.