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 » Escape Characters

Post new topic  Reply to topic
 Escape Characters « View previous topic :: View next topic » 
Author Message
team
PostPosted: Fri Nov 02, 2007 8:56 am    Post subject: Escape Characters Reply with quote

Centurion

Joined: 03 Nov 2006
Posts: 108

I am trying to replace the presence of ' in XML data content with '.

How can I do this using the REPLACE esql funciton...i am not able to escape this. Any help would be great!

I have tried:

REPLACE(OutputRoot.MRM.MESSAGE,''',''');

REPLACE(OutputRoot.MRM.MESSAGE,''','\'');

REPLACE(OutputRoot.MRM.MESSAGE,''','''');
Thanks,
Back to top
View user's profile Send private message Yahoo Messenger
jefflowrey
PostPosted: Fri Nov 02, 2007 9:03 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You mean you're trying to make your data into invalid XML?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
kimbert
PostPosted: Fri Nov 02, 2007 3:51 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I am trying to replace the presence of ' in XML data content with '.
That should not be necessary - the XMLNS and XMLNSC parsers will do that for you. What are you trying to do?
Back to top
View user's profile Send private message
Suresh Gupta
PostPosted: Fri Nov 02, 2007 8:47 pm    Post subject: Reply with quote

Apprentice

Joined: 29 Jun 2005
Posts: 46
Location: India

check this function " XML.AsisElementContent"
_________________
regards,
Suresh
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
shalabh1976
PostPosted: Mon Nov 05, 2007 7:12 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

But the XML domain should not be used.
However XMLNS.AsIsElementContent & XMLNSC.AsIsElementContent do not exist.
XMLNS or XMLNSC is the correct and recommended one.
Or are you still on 2.1?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Mon Nov 05, 2007 1:07 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

The XMLNS domain uses the XML constants, so XML.AsIsElementContent is (theoretically) valid for XMLNS.
_________________
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 » Escape Characters
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.