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 » new line in xml

Post new topic  Reply to topic
 new line in xml « View previous topic :: View next topic » 
Author Message
rachu19118
PostPosted: Mon Jul 19, 2004 2:32 am    Post subject: new line in xml Reply with quote

Newbie

Joined: 19 Jul 2004
Posts: 2

We are working on WBIMB 5.0 and we want to have newline character in our xml value. Please have a look at the following situation.
Suppose input to the flow is
<value>
<value1>a</value1>
<value2>a</value2>
<value3>a</value3>
</value>
and we want the output to be
<value>
a
b
c
</value>
We have tried hard to append '\n' in compute node but did not succeed.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Jul 19, 2004 3:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

New lines count as whitespace.

XML (not the broker!) treats extra whitespace as unnecessary and can delete it.

If you want a field to contain extra whitespace, you need to make it a CDATA field in your ESQL.
_________________
I am *not* the model of the modern major general.
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 » new line in xml
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.