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 » Displaying & as an & in a field

Post new topic  Reply to topic
 Displaying & as an & in a field « View previous topic :: View next topic » 
Author Message
LH33
PostPosted: Fri Aug 29, 2003 7:07 am    Post subject: Displaying & as an & in a field Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

HI! I have a message flow that transforms a tag from a decode value to it's full value. I am having a problem getting an & to display as an &. The value I am transforming is CUTNCLEAR. I need to display this as 'Cut & Clear'. When I do a

CASE

WHEN 'CUTNCLEAR' THEN 'Cut & Clear'

the output is displayed as <Cut &amp; Clear>

Can someone help me with how to display the & as an & and not have the &amp;.

Thanks, Lisa
Back to top
View user's profile Send private message
titus
PostPosted: Fri Aug 29, 2003 9:50 am    Post subject: Reply with quote

Novice

Joined: 14 Oct 2002
Posts: 23

Embedded the data with CDATA section.
Back to top
View user's profile Send private message
LH33
PostPosted: Fri Aug 29, 2003 10:13 am    Post subject: Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

Could someone show me the syntax of the CDATA section. I cannot get it to work.

Thanks, Lisa
Back to top
View user's profile Send private message
wmqiguy
PostPosted: Tue Sep 02, 2003 5:47 am    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 145
Location: Florida

I might be off the path here, but isn't CDATA only for data values? Essentially, it is telling the XML parser to ignore that section. Can you have a parser that ignores values within the tag itself?
Back to top
View user's profile Send private message
titus
PostPosted: Tue Sep 02, 2003 9:57 am    Post subject: Reply with quote

Novice

Joined: 14 Oct 2002
Posts: 23

This is the Syntax of CDataSection
SET "OutputRoot"."XML"."FieldName".(XML.CDataSection) = FieldValue
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 » Displaying & as an & in a field
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.