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 » &lt in XML output-Urgent!!!

Post new topic  Reply to topic
 &lt in XML output-Urgent!!! « View previous topic :: View next topic » 
Author Message
RAJESHRAMAKRISHNAN
PostPosted: Mon Oct 11, 2004 1:30 am    Post subject: &lt in XML output-Urgent!!! Reply with quote

Voyager

Joined: 01 May 2004
Posts: 96

Hi All,
I have a this code
SET OutputRoot.XML.A = '<NAME>'; in compute node. The output generated is <A>&lt;NAME&gt;</A>. How to avoid this &lt and &gt; from the output? I guess this can't be avoided as this is autamatically done by the XML parser. Is my understanding correct?

----------
Rajesh
Back to top
View user's profile Send private message
JT
PostPosted: Mon Oct 11, 2004 5:52 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

Give this a try:
Code:
SET OutputRoot.XML.A.(XML.CDataSection) = '<NAME>';
Back to top
View user's profile Send private message
EddieA
PostPosted: Mon Oct 11, 2004 9:14 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

What you are seeing is correct XML behaviour. When the receiving application uses an XML parser to read the data, it will correctly return <NAME>.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
kirani
PostPosted: Mon Oct 11, 2004 10:26 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

http://www.mqseries.net/phpBB2/viewtopic.php?t=4799
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
RAJESHRAMAKRISHNAN
PostPosted: Mon Oct 11, 2004 8:40 pm    Post subject: Reply with quote

Voyager

Joined: 01 May 2004
Posts: 96

Hi All,
Thanks very much. Kiran's suggestion indeed worked!!!

Regards
Rajesh
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 » &lt in XML output-Urgent!!!
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.