<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Filtering Using Lookup Column with Multiple Values in SharePoint List Only works for 1st Item</title><link>https://www.infopathdev.com:443/forums/thread/100765.aspx</link><pubDate>Thu, 15 Jan 2015 00:24:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:100765</guid><dc:creator>Ddub1</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/100765.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=100765</wfw:commentRss><description>Hello.  I have a form with cascading drop-downs.  The data source for these are two separate SharePoint lists. Later in the form, there is a list box with two filters that utilize the selections in these drop-downs and compare them against a main SharePoint list that includes lookup columns to the two aforementioned lists. &lt;/p&gt;

Filter one points to a field where there is only one value in the SP column.  This filter works fine.  The second filter points to a SP column that allows multiple values.  This filter only works for the very first value in the column. This is not what I want.  I want it to go through all of the values in that column until it matches what the user selected in the drop-down. &lt;/p&gt;  

---- &lt;/p&gt;

(version 2 of same problem, written by a friend of mine): &lt;/p&gt;

In the xPath below, d:Strategy_x002d_Product refers to a lookup column in a SharePoint list.  This lookup column allows multiple values. But only the first value is being returned in what should be a Strategy_x002d_Product array. 

Is there any way to retrieve all values in the Strategy_x002d_Product lookup and compare them to the single value StrategyID?

/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Title[(../d:Strategy_x002d_Product = xdXDocument:get-DOM()/my:myFields/my:general/my:StrategyID)]    Thank you in advance!</description></item></channel></rss>