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 » Syntax for ESQL for adding string into input xml

Post new topic  Reply to topic
 Syntax for ESQL for adding string into input xml « View previous topic :: View next topic » 
Author Message
tom_hanks
PostPosted: Sun May 21, 2006 11:48 pm    Post subject: Syntax for ESQL for adding string into input xml Reply with quote

Apprentice

Joined: 19 May 2006
Posts: 32

Hai everybody.

I need to know syntax for ESQL for following problem.

I have a string of data like this. 'dsfjsn dsfkdsfnlkn dsfdsnflndf sfdakldsnf'.

I have a input XML file like this.

<h1>
<h2>hai</h2>
</h1>

Now i need to get

<h1>
'dsfjsn dsfkdsfnlkn dsfdsnflndf sfdakldsnf'
<h2>hai</h2>
</h1>

How to Add a string into input xml using ESQL in compute node.

please provide me some more ESQL e-books , if anybody have.

thanks in advance
Tom.
Back to top
View user's profile Send private message
jbanoop
PostPosted: Mon May 22, 2006 12:49 am    Post subject: Reply with quote

Chevalier

Joined: 17 Sep 2005
Posts: 401
Location: SC

Try the help on the broker tool kit.
SET OutputRoot.XML.h1 ='whatever u wanna put';

Regards,
Anoop
Back to top
View user's profile Send private message Yahoo Messenger
Mensch
PostPosted: Mon May 22, 2006 3:31 am    Post subject: Reply with quote

Disciple

Joined: 17 Jul 2005
Posts: 166

hi tom_hanks

Hi
ESQL ref for you

http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.etools.mft.doc/ac05980_.htm

But before this better learn about Message trees created when broker parses the message

That you can find in
http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=/com.ibm.etools.mft.doc/ac00520_.htm
_________________
Thanks and Regards ,
Mensch
Back to top
View user's profile Send private message
tom_hanks
PostPosted: Mon May 22, 2006 7:07 pm    Post subject: Reply with quote

Apprentice

Joined: 19 May 2006
Posts: 32

Hai jbanoop,

thanks a lot. your code worked nicely.

Hai Mensch,

thanks for reference, But I need Syntax for ESQL (I mean accessing data from DB2, etc.)

anyway, thanks a lot.

-Tom
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 » Syntax for ESQL for adding string into input 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.