|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Syntax for ESQL for adding string into input xml |
« View previous topic :: View next topic » |
Author |
Message
|
tom_hanks |
Posted: Sun May 21, 2006 11:48 pm Post subject: Syntax for ESQL for adding string into input xml |
|
|
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 |
|
 |
jbanoop |
Posted: Mon May 22, 2006 12:49 am Post subject: |
|
|
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 |
|
 |
Mensch |
Posted: Mon May 22, 2006 3:31 am Post subject: |
|
|
Disciple
Joined: 17 Jul 2005 Posts: 166
|
|
Back to top |
|
 |
tom_hanks |
Posted: Mon May 22, 2006 7:07 pm Post subject: |
|
|
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|