<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Parth on Livecycle &#187; XPath keyword</title>
	<atom:link href="http://blog.pandyaparth.com/tag/xpath-keyword/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.pandyaparth.com</link>
	<description>aka - LiveCycle Karma (Personal blog on LiveCycle, Adobe enterprise technologies and innovation)</description>
	<lastBuildDate>Sun, 05 Feb 2012 23:15:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Introducing LC Keywords-Logical Operators&#8211; and,or</title>
		<link>http://blog.pandyaparth.com/2009/07/introducing-lc-keywords-logical-operators-andor/</link>
		<comments>http://blog.pandyaparth.com/2009/07/introducing-lc-keywords-logical-operators-andor/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 15:09:45 +0000</pubDate>
		<dc:creator>Parth Pandya</dc:creator>
				<category><![CDATA[LiveCycle ES]]></category>
		<category><![CDATA[LC keywords]]></category>
		<category><![CDATA[LiveCycle operators]]></category>
		<category><![CDATA[Logical Operators]]></category>
		<category><![CDATA[Route conditions]]></category>
		<category><![CDATA[XPath and or]]></category>
		<category><![CDATA[XPath keyword]]></category>

		<guid isPermaLink="false">http://livecyclekarma.wordpress.com/?p=122</guid>
		<description><![CDATA[I was experimenting with xpath expression and found that the &#8216;and&#8217; and &#8216;or&#8217; works perfectly as the logical operators. I&#8217;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&#8217;ve attached an example to demonstrate a simple usage of &#8216;and&#8217;-'or&#8217; logical [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FwaS50d2VldG1lbWUuY29tL3NoYXJlP3VybD1odHRwJTNBJTJGJTJGYmxvZy5wYW5keWFwYXJ0aC5jb20lMkYyMDA5JTJGMDclMkZpbnRyb2R1Y2luZy1sYy1rZXl3b3Jkcy1sb2dpY2FsLW9wZXJhdG9ycy1hbmRvciUyRg=="><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fblog.pandyaparth.com%2F2009%2F07%2Fintroducing-lc-keywords-logical-operators-andor%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I was experimenting with xpath expression and found that the &#8216;and&#8217; and &#8216;or&#8217; works perfectly as the logical operators.<br />
I&#8217;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.</p>
<p>I&#8217;ve attached an example to demonstrate a simple usage of &#8216;and&#8217;-'or&#8217; logical operators. This is the condition that I&#8217;ve put in the example.</p>
<blockquote><p>(normalize-space(/process_data/@Input_Value1)=&#8217;555&#8242; <strong><span style="color:#ff0000;">or</span></strong> normalize-space(/process_data/@Input_Value1)=&#8217;666&#8242;) <span style="color:#ff0000;"><strong>and</strong></span> (normalize-space(/process_data/@Input_Value2)=&#8217;777&#8242;)</p></blockquote>
<p>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.</p>
<p>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.</p>
<p>Hope this helps to you too!!!</p>
<div>
<p><a class=\"alignleft\" title=\"XPath logical operator example\" href="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3BhbmR5YXBhcnRoLmNvbS93cC1jb250ZW50L3VwbG9hZHMvMjAwOS8wNy9sYy1rZXl3b3Jkcy1sb2dpY2FsLW9wZXJhdG9yLWFuZC1vci1leGFtcGxlLnBkZg==" target=\"_blank\">Download the example from here.</a></div>
 <img src="http://blog.pandyaparth.com/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=122" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://blog.pandyaparth.com/2009/07/introducing-lc-keywords-logical-operators-andor/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

