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 » filter node

Post new topic  Reply to topic
 filter node « View previous topic :: View next topic » 
Author Message
asif_0611
PostPosted: Mon Oct 10, 2005 7:54 am    Post subject: filter node Reply with quote

Newbie

Joined: 06 Jul 2005
Posts: 8

the following code for filter node is valid with OR?
IF
(Body."author"."book"."name".(XML.Attribute)"type"='john g')
OR
(Body."author"."book"."name".(XML.Attribute)"type"='jay r')
THEN
RETURN TRUE;
ELSE
RETURN FALSE;
END IF;

thanks
asif
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
JT
PostPosted: Mon Oct 10, 2005 8:18 am    Post subject: Reply with quote

Padawan

Joined: 27 Mar 2003
Posts: 1564
Location: Hartford, CT.

The OR statement is fine,

But I think there's a problem with the values you've assigned to your XML Attributes. Perhaps I'm wrong, but I didn't think you could have a space in an attribute value.
Back to top
View user's profile Send private message
nathanw
PostPosted: Mon Oct 10, 2005 8:29 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

unless the values are set in "" as far as i can see

eg

"john g"
Back to top
View user's profile Send private message MSN Messenger
javaforvivek
PostPosted: Tue Oct 11, 2005 2:38 am    Post subject: Reply with quote

Master

Joined: 14 Jun 2002
Posts: 282
Location: Pune,India

Have you tried to run this code? Has it given any errors? or unexpected behaviours?
_________________
Vivek
------------------------------------------------------
...when you have eliminated the impossible, whatever remains, however improbable, must be the truth.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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