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 transform an XML with a return

Post new topic  Reply to topic
 How to transform an XML with a return « View previous topic :: View next topic » 
Author Message
uliss
PostPosted: Tue Apr 17, 2007 11:17 pm    Post subject: How to transform an XML with a return Reply with quote

Apprentice

Joined: 10 Jan 2007
Posts: 27

Hi everybody,

I have a problem because I don't know how to delete a "return" from an xml message.

This is the xml tag and the data:

<DescripcionSIC>Factura con descripcion larga para detectar que problemas puede originar si el campo se informa con una longitud demasiado larga.
Probamos a informar el campo con mas de 250 caracteres para ver si da algun error de BD o si permite informarlos en SIR</DescripcionSIC>

Between the red part and the black part of the message, there is a "Return", and this is giving to me a lot of problems. Can I delete this "Return" and transform it into a "space"?

I have the 5.0.8 version of WBI

Thank you very much
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Wed Apr 18, 2007 12:47 am    Post subject: Re: How to transform an XML with a return Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

I think you can do it with REPLACE ESQL function.

Try it.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
rajasri
PostPosted: Wed Apr 18, 2007 1:46 am    Post subject: RE Reply with quote

Centurion

Joined: 11 Jun 2006
Posts: 114

HI Uliss, did u try the suggestion of Marchin? Could you tell us what problems you are facing because of that Return.
Back to top
View user's profile Send private message
recallsunny
PostPosted: Wed Apr 18, 2007 1:02 pm    Post subject: Reply with quote

Disciple

Joined: 15 Jun 2005
Posts: 163
Location: Massachusetts

Code:

Unix:
Return = LineFeed  Hex'0A'

Windows:
Return = CarriageReturn+LineFeed Hex'0D0A'


Hint:
Replace the appropriate Hex bits from the Bitstream using "Replace" Function...
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 transform an XML with a return
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.