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 » ESQL editor help

Post new topic  Reply to topic
 ESQL editor help « View previous topic :: View next topic » 
Author Message
rkford11
PostPosted: Tue Jul 12, 2005 6:56 am    Post subject: ESQL editor help Reply with quote

Partisan

Joined: 06 Jun 2004
Posts: 316

I have my xml that looks as

<ABC-XYZ-KLM>
<DE-EF>Hello<DE-EF>
<XY-YZ>Test<XY-YZ>
<ABC-XYZ-KLM>


In the ESQL editor when ever i Issue

SET InputRoot.XML.ABC-XYZ-KLM.DE-EF='TEST2'

the editor throws me an error. Please correct me.

Thanks
Back to top
View user's profile Send private message
wschutz
PostPosted: Tue Jul 12, 2005 6:58 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

try:
SET "InputRoot"."XML"."ABC-XYZ-KLM"."DE-EF"='TEST2' ;
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
jefflowrey
PostPosted: Tue Jul 12, 2005 7:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.etools.mft.doc/ak04861_.htm
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Jul 27, 2005 12:23 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

The quotes are only needed around path elements that have characters that are not part of an ESQL identifier, eg, '-' or ' '

So in this case you only need:

Code:
SET InputRoot.XML."ABC-XYZ-KLM.DE-EF"='TEST2';


Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Wed Jul 27, 2005 11:53 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

I dont understand why you would want to SET the InputRoot...

Shouldn't it be SET OutputRoot.......

Please correct me if i'm wrong. I thought till now that InputRoot could not be changed in the compute.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL editor help
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.