Introducing LC Keywords-Logical Operators– and,or

July 13, 2009 at 8:09 am 1 comment

I was experimenting with xpath expression and found that the ‘and’ and ‘or’ works perfectly as the logical operators.
I’m perosnally so happy to see them working. In few cases it was too hard to configure the conditional routes with just OR/AND joint.

I’ve attached an example to demonstrate a simple usage of ‘and’-‘or’ logical operators. This is the condition that I’ve put in the example.

(normalize-space(/process_data/@Input_Value1)=’555′ or normalize-space(/process_data/@Input_Value1)=’666′) and (normalize-space(/process_data/@Input_Value2)=’777′)

I believe that this is going to make workflow design so much cleaner. Instead of nested conditional routes and 4-5 decision points or set value steps we would be able to do lot more things in few steps now.

I think this is an XPath Explorer feature so is not limited to just route conditions. All of the places where XPath expression is evaluated should be able use these.

Hope this helps to you too!!!

Download the example from here.


Entry filed under: Uncategorized. Tags: , , , , , .

Max 2009 Announced This Blog is moving…

1 Comment Add your own

  • 1. pandyaparth  |  September 15, 2009 at 2:06 am

    Did anyone try these? Any issues/comments?
    I use this often now and it works like a charm. I’m looking forward to hear about any cool usage of it if anyone used these (except for myself).

    Has anyone found these in any documentation?



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed

Recent Tweets

Error: Twitter did not respond. Please wait a few minutes and refresh this page.

Recent Posts


The fine print!!

The views on this blog are my own and don’t necessarily represent my employer's views, strategies or opinions.


July 2009
« Jun   Nov »

%d bloggers like this: